This Extension is deprecated. Use the Mermaid extension instead.
Comment with %% for Mermaid lines and with <!-- --> for regular Markdown lines, with a single command.

Feature
- Comment Mermaid lines with command
mermaid-comment.toggleLineComment
Keybindings
Default
can toggle comment in Markdown language with ctrl+alt+/.
{
"key": "ctrl+alt+/",
"command": "mermaid-comment.toggleLineComment",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /markdown/"
},
Advance
can toggle comment in all languages including Markdown language with ctrl+/ like as default
{
"key": "ctrl+alt+/",
"command": "-mermaid-comment.toggleLineComment",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /markdown/"
},
{
"key": "ctrl+/",
"command": "mermaid-comment.toggleLineComment",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /markdown/"
},
{
"key": "ctrl+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+/",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly && !(editorLangId =~ /markdown/)"
},
Acknowledgments
Inspiration, code snippets, etc.