Skip to content

rendering of html comments do not work anymore #598

@u-fischer

Description

@u-fischer
\documentclass{article}
\usepackage{markdown}
\markdownSetup{
  renderers = {
    inlineHtmlComment = {show this #1!},    
  },
}
\begin{document}
\begin{markdown}
A useful use of inline HTML comments are side notes.
<!-- Side notes are displayed in the horizontal margins next to the relevant
passages, which makes them *easier for the reader to find* than notes. -->
\end{markdown}
\end{document}

With texlive 2023 I get the expected output:

Image

With texlive 2024 and newer the comment is not shown:

Image

Metadata

Metadata

Assignees

Labels

commonmarkRelated to making the syntax of markdown follow the CommonMark specdocumentationRelated the technical documentation, the user manual, and the README filesfeature requesthtmlRelated to our support for HTML content.luaRelated to the Lua interface and implementationquestion

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions