Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that marked does not support anything like the
markdown="1"
attribute of other Markdown parsers. (see #488) and that after #1135, a blank line is required to switch to Markdown mode again.While this works for things like
<div>
, it does not work for highlighting Markdown inside e.g.<p>
.It seems I can use the
html()
token in Renderer or Tokenizer to fix this, but I'm not sufficiently familiar with Marked's internals. Has anyone else figured this out?Beta Was this translation helpful? Give feedback.
All reactions