[VSCode Extension] Looking for something to render mermaid in JSDoc

Title, basically. Say I have the following JSDoc comment;
/**
* \`\`\`mermaid
* graph TD;
* A-->B;
* A-->C;
* B-->D;
* C-->D;
* \`\`\`
*/
const ident = "val";
/**
* \`\`\`mermaid
* graph TD;
* A-->B;
* A-->C;
* B-->D;
* C-->D;
* \`\`\`
*/
const ident = "val";
Does anyone know of a VSCode extension which will change the JSDoc hover-preview such that the mermaid is rendered into a graph rather than simply being syntax highlighted text?
1 Reply
WebMechanic
WebMechanicā€¢14mo ago
interesting... but no. maybe ask this fellow to add JSDoc support to its arsenal? https://github.com/vstirbu/vscode-mermaid-preview or any other Mermaid extension not limited to Markdown files
GitHub
GitHub - vstirbu/vscode-mermaid-preview: Previews Mermaid diagrams
Previews Mermaid diagrams. Contribute to vstirbu/vscode-mermaid-preview development by creating an account on GitHub.