This Extension is deprecated. Use the Mermaid extension instead.
Comment with %%
for Mermaid lines and with <!-- -->
for regular Markdown lines, with a single command.
- Comment Mermaid lines with command
mermaid-comment.toggleLineComment
can toggle comment in Markdown language with ctrl+alt+/
.
{
"key": "ctrl+alt+/",
"command": "mermaid-comment.toggleLineComment",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /markdown/"
},
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/)"
},
Inspiration, code snippets, etc.