Navigating in sections of a large markdown file

1 reply [Last post]
Avron

I am a translator!

Offline
Joined: 08/18/2020

In Libreoffice, when one opens a document that uses heading styles, it is possible to use the navigation pane (not sure this is the exact name in the English language version) which shows all headings and allows to see where one is and to jump to a particular heading. I attach a screen capture to show how it looks like.

Is there a similar function for markdown files i.e., showing a similar list of headings that shows where one is, and with the option to look into all headings, possibly collapsing/expanding subheadings of a heading, and click on one to jump there in the document, but based on markdown headings rather than on heading styles of an ODF document?

I am asking because I am working with some organization where people are considering adopting markdown for new specifications. Now they use MS word but certain specification files are so large that it is getting very slow and painful to edit them.

I tried opening a large markdown document in LibreOffice but it won't recognize the markdown heading marks as headings. Perhaps a solution would be to have a macro in LibreOffice that applies styles according to markdown heading marks.

AttachmentSize
navigator.png65.54 KB
Staircase
Offline
Joined: 02/24/2022

> Is there a similar function for markdown files i.e., showing a similar list of headings that shows where one is, and with the option to look into all headings, possibly collapsing/expanding subheadings of a heading, and click on one to jump there in the document, but based on markdown headings rather than on heading styles of an ODF document?

I imagine that such function will come from the text editor.

I found this:

https://community.notepad-plus-plus.org/topic/18808/plugin-request-markdown-navigation-panel

I have not tested it but, according to this page, it looks like you can add a function to the text editor Notepad++ to display a navigation panel of a Markdown document.