[PyPi] md2rst parsing problem
maxkrivich opened this issue · 5 comments
maxkrivich commented
miyakogi commented
maxkrivich commented
@miyakogi I fix, but a problem was in wrong License title after parsing.
maxkrivich commented
https://github.com/maxkrivich/SlowLoris/blob/cada90037959cda4268ec30b7854ff47e7c2ccc2/README.md
in License
#License --> ##License
miyakogi commented
Thank you, I understand the problem.
In reStructuredText, headings must appear its order in the document.
If you use ###
before ##
, rst converts ###
to <h2>
tag and ##
to <h3>
tag in HTML.
It is defined in the spec of rst, so m2r cannot fix it, sorry.
http://docutils.sourceforge.net/docs/user/rst/quickstart.html#sections
maxkrivich commented
@miyakogi ok, thanks!