Deepdwn version: v0.28.1
OS: Pop!_OS 20.21
Any text put inside any html tag will not be parsed as markdown. Some highlighting works, but not the rest.
Hi, I can see the screenshots!
There are a couple of different issues here.
In your screenshot, I believe there’s an html tag on the line directly above the one shown, or a series of unbroken lines that continue an HTML block, and that prevents the markdown parsing you’re seeing. This is working correctly in the preview, where the markdown is not parsed for this line.
For way too much information on this, here’s the commonmark spec on raw html blocks: https://spec.commonmark.org/0.29/#html-blocks
That said, the editor side doesn’t (and really can’t) fully match the commonmark spec, and there are some gaps.
==
and inline code blocks) ignore this html block state and incorrectly “work” when they shouldn’t. I’d like to improve this, but can’t promise I’ll be able to soon.Thanks for the report :)