Bug 376480

Summary: Symbol Viewer Plugin: Add support for Markdown
Product: [Applications] kate Reporter: Thomas.Meschede
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: wishlist CC: christoph, codestruct, loh.tar, myndstream, Thomas.Meschede, waqar.17a
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas.Meschede 2017-02-14 15:26:34 UTC
I would be appreciated, if the kate symbol viewer would support markdown files :)

for example listing all headers, and all figures as an "outline", similar to the navigation panel of word or libreoffice:  

https://www.google.de/search?q=libreoffice+navigation+panel&client=ubuntu&hs=cTh&channel=fs&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjA_pj78o_SAhXLlSwKHd0BAXIQ_AUICSgC&biw=1420&bih=834

https://www.google.de/search?q=ms+office+navigation+pane&client=ubuntu&hs=U71&channel=fs&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj-hrbQ8o_SAhUB3iwKHXrmAf4Q_AUICSgC&biw=1420&bih=834
Comment 1 Lothar 2018-12-13 14:56:48 UTC
Should someone not be afraid to build a plugin from source, he my give this fork a try
https://github.com/loh-tar/KatePlugin-IndexView
Comment 2 Waqar Ahmed 2022-01-09 20:12:53 UTC
*** Bug 402216 has been marked as a duplicate of this bug. ***
Comment 3 Waqar Ahmed 2022-05-20 15:23:32 UTC
*** Bug 453577 has been marked as a duplicate of this bug. ***
Comment 4 myndstream 2022-05-20 17:49:10 UTC
My issue has been marked as a duplicate ^ and I would like to point out that there's a difference to this issue here. However, this could be considered a sub-task or an issue that first requires this issue here to be implemented: I was explicitly asking for TOCs for plain text files without markdown syntax:

you could just specify the syntax that denominates a header (or use the default) and it would not display the text any differently than the rest of the plain text (for example a .txt file): no colors and no larger font-sizes, the only difference is that you have a TOC by which you can jump within and structure your text document.

Please implement this once it works for markdown, it could be disabled by default (have no header-denominator set).

Other than that I think this issue is important and if somebody looks for an alternative QOwnNotes does have TOCs. Please answer this question once it's implemented: https://unix.stackexchange.com/questions/702033/how-to-show-a-table-of-content-toc-for-a-text-document-in-kdes-kate
Comment 5 Waqar Ahmed 2022-05-23 05:44:00 UTC
> I was explicitly asking for TOCs for plain text files without markdown syntax:

> you could just specify the syntax that denominates a header (or use the default) and it would not display the text any differently than the rest of the plain text (for example a .txt file): no colors and no larger font-sizes, the only difference is that you have a TOC by which you can jump within and structure your text document.

This can be done via the plugin, but it is unlikely any of the core devs will do it anytime soon. If you want it early, maybe give it a try yourself.
Comment 6 Lothar 2022-05-23 06:33:55 UTC
(In reply to myndstream from comment #4)

> I was explicitly asking for TOCs for plain text files without markdown

See my comment #1 above. It has some plain text support and is still working here.
Comment 7 Christoph Cullmann 2023-08-17 17:32:57 UTC
If somebody wants to have that, please provide a patch.

https://kate-editor.org/join-us/

I don't see that we have time nor interest to implement that ourselves, please scratch you own itch, thanks.