I understand that Discourse is CommonMark complaint, so I took the suggestion of one of the threads to use html2commonmark to try and migrate a few posts.
I’ve noticed some issues:
Rending this:
*\<enc\>-vid*
Doesn’t render properly, the “encoder” is missing all together and renders as:
<enc>-vid
One needs to put a space after the < for it to render properly
*\< enc\>-vid*
Renders as:
< enc>-vid
EDIT: Any workaround for now on how to get it to render without including a space?
Thanks I’m assuming that’s the workaround I asked for. Would this issue be fixed to be compliant with the commonmark syntax? I have a lot of references to this type of issue on the pages I’m converting using the html2commonmark tool.
Unfortunately no. Commonmark supports the embedding of HTML markup inside it. So when using phrases with < and > around them, you must escape one of them for it to be shown or put it in backticks
The tool escaped both the < and > but it doesnt seem to show (see above). Even if only one is escaped it doesn’t show up. It only shows up if there is a space after the first <. For some reason the entire text between the < and > goes missing. Is that expected?
If commonmark allows for HTML markup, are you saying that < is considered HTML mark up hence it’s needs to be < instead? If so then why is it that this works < enc> but not <enc> to show the <
Why is the text between the < and > disappearing but show up when there is a space?
Maybe I’m missing something here but it’s not clear why the space is making such a difference overall.