document-outline icon indicating copy to clipboard operation
document-outline copied to clipboard

Outline is empty for reStructuredText files

Open marcusyoung opened this issue 6 years ago • 2 comments

Outline is blank for reStructuredText files. Works fine for markdown.

marcusyoung avatar Apr 04 '19 00:04 marcusyoung

Same here : no outline for .rst file, Any clue ?

omarbenhamid avatar Nov 21 '19 08:11 omarbenhamid

Currently the issue was that the document had "Windows Style end of line " (CR+LF), the package only supports "Linux Style end of line" (simple Line Feed). I fixed it in this pull request for RST documents (but the same issue will arise for markdown or others) https://github.com/mangecoeur/document-outline/pull/90

omarbenhamid avatar Nov 21 '19 09:11 omarbenhamid