Skip to content

feature: comment rendering with comment text but without comment syntax #574

@chrisgrieser

Description

@chrisgrieser

Is your feature request related to a problem? Please describe.

Currently, we have three options for rendering html-comments (<!-- comment -->):

  1. completely conceal them (= the default setting)
  2. replace them with some text/icon via html.comment.text
  3. not render them at all

There is no middle ground, like concealing HTML syntax while still displaying the comment content.

Describe the solution you'd like

Add another option to display the comment content while concealing the comment syntax. Essentially, turn <!-- comment --> into comment.

Describe alternatives you've considered

None I can think of

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions