Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Mermaid Support #225

Open
vincenttermaat opened this issue Dec 16, 2021 · 4 comments
Open

[Feature Request] Mermaid Support #225

vincenttermaat opened this issue Dec 16, 2021 · 4 comments

Comments

@vincenttermaat
Copy link

Installed product versions

  • Visual Studio: 2022
  • This extension: Last

Description

Could we (help to) add Mermaid support for Sequence Diagrams?
As such: https://github.com/mjbvz/vscode-markdown-mermaid
This is supported by de Wiki implementation in Azure Devops

Mermaid docs: https://mermaid-js.github.io/mermaid/#/

@TonyHenrique
Copy link

TonyHenrique commented Jan 25, 2022

I created a Mermaid diagram using Azure DevOps but it does not display on Visual Studio 2022 using MarkdownEditor.

For example:

**Diagram:**
::: mermaid
graph LR;
P[Portal Ext WebApp PHP 7.4]
P==>Grav_CMS
Grav_CMS-->User_Interface
User_Interface-.->API
API-->Database
:::

On Visual Studio 2022:
image

On Azure DevOps :
image

@o-o00o-o
Copy link

It is strange as I see other posts that show that mermaid is supported in the preview - but I've tried both ``` blocks and ::: blocks as required by ADO but I only get the mermaid text in the preview. Is there a trick to making this work in 2019?

@ite-klass
Copy link

Use
```mermaid
code blocks. That will render them.

@ite-klass
Copy link

Although for me it ends up rendering both some malformed source code text, plus the rendered image too small in size with overflow hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants