Insert code tree as text in the editor

Post Reply
lookoutside
Posts: 51
Joined: 17.08.2022 13:42

Insert code tree as text in the editor

Post by lookoutside »

Cudatext can show the code tree on the left panel. I use code tree as a document outline and navigation tool heavily.

I hope that the code tree can be inserted as text in the editor, then I can see them when I open or preview them with other software, like cat, gedit.

The same function is implemented as a feature for users to insert toc in other editor like typora. I don't use typora because I prefer pure text.

typora toc docs:
https://support.typoraio.cn/Markdown-Re ... ntents-toc

perhaps more than 1 command can be afforded, for example:
  • - code tree insert toc: depth level 1
    - code tree insert toc: depth level 2
    - code tree insert toc: depth level 3
Then users can insert toc (table of content) with different depth according to the relative commmand.

Thank you very much!
main Alexey
Posts: 2300
Joined: 25.08.2021 18:15

Post by main Alexey »

Is this wish for Markdown lexer? reST lexer? other markup lexer? for all lexers?
It is useful for Markdown, if Typora supports it for Markdown https://support.typoraio.cn/Markdown-Re ... ntents-toc . I welcome the patch for 'Markdown Editing' plugin.
lookoutside
Posts: 51
Joined: 17.08.2022 13:42

Post by lookoutside »

Sorry for forgetting to mention the lexers. I think it is useful for both markdown and restructuredtext. I don't know asciidoc, perhaps asciidoc users need it too.
main Alexey
Posts: 2300
Joined: 25.08.2021 18:15

Post by main Alexey »

I welcome the patch for 'Markdown Editing' plugin.
Post Reply