Options for hotkeys to toggle <!- - - ->" as comment instead of %% %%

Use case or problem

Other markdowns usually do not recognize %% %% as comment. The good old <!-- --> is usually more compatible. The hotkey cmd + / to toggle comment only supports %% %% which itself is easier to type than <!-- -->.

Proposed solution

Add options for hotkeys to toggle <!-- --> as comment, either instead of, or in addition to, %% %%.

6 Likes

Continuing the discussion from Feature Request: Comment Formatting:

I am grateful for the “Toggle comment” shortcut and would however like to change the format of my comments (personally prefer HTML <!-- --> over %%%% for consistency with other software I use). I understand (thanks @ryanjamurphy) that this is not currently possible, so I’m making a feature request. Thanks for considering this!

3 Likes

Just want to mention that I made the same request here but so far no interest.

2 Likes

Thanks, merged

Let’s please implement this as an option at least. Of all the markdown programs I use (Obsidian, RStudio, Zettlr, Panda/Bear, Typora, VS Code…), Obsidian is the only one I’ve seen use %% as comment syntax.