Implement `markdown_in_html_blocks` extension
not-my-profile opened this issue · 3 comments
not-my-profile commented
jgm commented
Commonmark has its own built in way of including markdown in HTML blocks, so this is not needed (or desired---it's a mess to handle arbitrary markdown in HTML blocks).
not-my-profile commented
Ah thanks, I didn't know that. I tried:
<figure>
*test*
</figure>
apparently with CommonMark you need a newline after the start tag. The following works as expected:
<figure>
*test*
</figure>
jgm commented
Yes, you need the blank lines. (Better to include one before the closing tag, too, though it isn't strictly needed.)