oprypin / mkdocs-literate-nav

MkDocs plugin to specify the navigation in Markdown instead of YAML
https://oprypin.github.io/mkdocs-literate-nav
MIT License
73 stars 8 forks source link

This plugin has problems with either whitespaces/new lines or UTF-8 characters (like Chinese) #33

Open GarfieldJiang opened 3 months ago

GarfieldJiang commented 3 months ago

I have to remove all the trailing spaces (of lines) and empty lines from my summary markdown file to avoid the following error:

mkdocs_literate_nav.parser.LiterateNavParseError: Expected no text after '

...

', but got ' '.

Is it possible to tolerate extra spaces?