Open masukomi opened 1 year ago
Yup, sounds lilke an issue.
In org, I believe, one should use '*
to escape star signs within codeblocks.
In markdown, I don't think they have escape symbols per se. But I believe, you can workaround it by either using tabs/4 spaces to distinguish a code block (that way you can't specify the language, though).
# This shouldn't be a header
Or you could add a space before the #
within a three-backticks section (toc-org, supposedly, will ignore it), like so
# reboot
(Not sure if you can see the source of this comment)
The cleanest way to fix it without relying on some kind of escape mechanics is to pre-process the source to eliminate all codeblocks, but, for now, I'm not 100% sure I should do this, since both markups seem to have at least some sort of escape mechanics
if it sees a # in a codefence it assumes that it's a heading.
(screenshot instead of text because escaping codefences in a codefence is a dark art... or something)