esc to dismiss
ObsidianHtml/Tabs-Mode
Removing obsidian comments
Important

This is the documentation for v3.5.0 and lower, for documentation for v4.0.0 and higher, see https://obsidian-html.github.io/

New in v3.1.0

Configure

If you don't want the behavior as defined below, you can turn this off by setting the following key in your config yml:

toggles:
  features:
    eraser:
      enabled: False

Behavior

Obsidian has a comment system: everything between %% is a comment and will not be shown in view mode

Text
%%
comment block
%%
Text

Text %% inline comment %% text

- This extension removes these comments.
- `%%` in codelines/-blocks are ignored.

Below here you will see the same text as above, but outside of the code block:

Text
Text

Text text

  • This extension removes these comments.
  • %% in codelines/-blocks are ignored.