markdown-viewer generates <pre><code> incorrectly from Markdown causing HTML-style comments to be displayed as though in code blocks
Opened this issue · 2 comments
wnm3 commented
I have generated markdown and depending on whether I view it in the markdown-viewer or the MMDComposer5 the comments toward the end of the document in the various lists either displays as code blocks in the markdown-viewer, or don't display in MMDComposer5, respectively.
I believe the markdown-viewer plugin has become confused and introduced <pre><code> tags in the HTML it generates.
The purpose of these comments is to act as clues for LLMs to know where lists have been created and how they are indented.
Do you think this is a bug in the markdown-viewer?
I've attached a zip with the markdown and html used to produce it with the following content:
unzip -v codesmpl.zip
Archive: codesmpl.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
19828 Defl:N 6521 67% 01-06-2025 13:19 474bb0eb codesmpl_000001.md
74497 Defl:N 14464 81% 01-06-2025 13:19 47589428 codesmpl_000001.html
-------- ------- --- -------
94325 20985 78% 2 files
wnm3 commented
wnm3 commented

