Mermaid-Chart / vscode-mermaid-preview

Previews Mermaid diagrams
MIT License
142 stars 15 forks source link

Azure Devops Syntax #96

Closed drewkg closed 4 years ago

drewkg commented 4 years ago

The Azure DevOps wiki engine expects mermaid to be marked with the syntax of

::: mermaid

::: instead of the markdown syntax of

Include the mermaid diagram

Is there any plan to support preview of this syntax?

vstirbu commented 4 years ago

Thanks! Added to backlog.

jantielens commented 4 years ago

Would be awesome! (also see this thread: https://developercommunity.visualstudio.com/idea/826044/mermaid-use-the-code-blog-identifier-istead-of-a-c.html?childToView=947222#comment-947222)

jantielens commented 4 years ago

Btw, the findDiagram function already seems to be looking for :::mermaid, but I think the syntax is ::: mermaid (with a space in between, see docs).

vstirbu commented 4 years ago

Thanks for the tip with the discussion!

The space in between looks very weird and does not fit any use pattern that I've heard of in any markdown flavours... but this is the situation with Azure DevOps 😷

vstirbu commented 4 years ago

fixed in v1.5.1