1. Bitbucket Website
  2. Public Issue Tracker
  3. master

Issues

Issue #8755 open

Allow HTML Comments in Markdown (BB-9958)

Kevin Cox
created an issue

Currently if a HTML comment is encountered in a markdown file it is escaped and displayed literally. Most[citation needed] implementations treat the comment as HTML and pass it through.

<!-- This gets escaped and displayed,
      but it would be nice if it was a HTML comment. -->

Additionally, some implementations completely remove comments with three leading dashes.

<!--- It would be nice if this was removed completely. -->

Comments (10)

  1. Kevin Cox reporter

    The use case is basically notes for people writing the document, but that shouldn't be included in the final product. For example latex has % and RST has ... Markdown users usually use HTML comments.

  2. Norman S.

    I am using the markdown based wiki for the enduser-manual and need to hide some internals (Doxygencomments, todo- and Fixme- listentries) for the reader. Such a feature would be nice.

  3. Log in to comment