codemap.vscode icon indicating copy to clipboard operation
codemap.vscode copied to clipboard

Rst support is required

Open annetre opened this issue 2 years ago • 0 comments

Hi,

I've tried to create code map for documents with RST (restructured text) markup. In this case, the document has 4 types of headers:

Header Level1 (=========)

Header Level2 (----------------)

and so on.

Note: the lines after the header text should be without parentheses. I've added them for display purposes only

It means that we have to find not a single line, but two lines: the line with symbols (=, - and so on according to the header level) and the line with text before this line. The current code splits the document content by line and it is impossible to make navigation in rst documents:((((

annetre avatar Oct 27 '22 15:10 annetre