Skip to content

CatBraaain/vscode-mermaid-comment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Extension is deprecated. Use the Mermaid extension instead.

Mermaid Comment

Comment with %% for Mermaid lines and with <!-- --> for regular Markdown lines, with a single command.

comment-demo-gif

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published