mjbvz / vscode-markdown-mermaid

Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
MIT License
648 stars 119 forks source link

Customize the markdown code keyword from 'mermaid' to 'xyz' (for useage with jekyll-spaceship) #86

Closed N7K4 closed 1 year ago

N7K4 commented 3 years ago

Hi,

I am using jekyll and the plugin jekyll-spaceship.

The tool is using the syntax mermaid! instead of just mermaid. See here from the code: https://github.com/jeffreytse/jekyll-spaceship/blob/master/lib/jekyll-spaceship/processors/mermaid-processor.rb

The idea would be that there is configurable setting in your amazing vscode add-in. To define an additional keyword or replace the existing one.

With the additional mermaid! keyworld I would be able to use your preview and spaceship as renderer.

Many thanks