Closed jrinder42 closed 8 months ago
Have you enabled the fenced_code extension? As a reminder, the original Syntax rules do not include any provision for fenced code blocks. Therefore, they are not enabled by default.
Thanks, that solves this for me.
As the title describes, if there are comments in a code snippet, it treats them as headers incorrect when converting to html (markdown.markdown(text))
It will treat
# this is a comment
as a header as opposed to just a comment