gistpad
gistpad copied to clipboard
Cannot save Markdown gist with Mermaid Diagrams
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:
- Create a new markdown gist
- 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;
```
- 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.