Skip to content

Cannot save Markdown gist with Mermaid Diagrams #414

@amirmishani

Description

@amirmishani

Describe the bug
Can't save markdown gist when using mermaid charts. The saving process is stuck in an infinite loop and I see the following in the VS Code status bar:

Saving 'readme.md': Writing into file...

To Reproduce
Steps to reproduce the behavior:

  1. Create a new markdown gist
  2. Add the following code
```mermaid
graph TD;
    R[Root Module]-->A[Module A];
    R-->B[Module B];
    A-->C[Module C];
    A-->D[Module D];
    A-->E[Module E];
    B-->E;
```
  1. Try to save

Expected behavior
Should be able to save the file.

Desktop (please complete the following information):

  • VS Code Version v1.104.3
  • GistPad Version v0.9.5

Additional context
There should be no issues with the code since I'm able to quickly save the file directly on Github Gists site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions