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

add mermaid support #103

Open
s-light opened this issue Apr 10, 2023 · 1 comment
Open

add mermaid support #103

s-light opened this issue Apr 10, 2023 · 1 comment

Comments

@s-light
Copy link

s-light commented Apr 10, 2023

i like the rendered diagrams from mermaid

would be nice to add mermaid support for this viewer :-)

it seems that the newest/maintained markdown-it plugin i found are
(not listed on the integrations page..)

the other option without plugin seems to be some hacky script embedding...

@Cimbali
Copy link
Owner

Cimbali commented Apr 17, 2023

Thanks for suggesting! I was looking at that too.

For the plugin I think we should stick to a really simple one that just adds a class="mermaid" to the graph source code, and then include the mermaid scripts -- as opposed to trying to render the SVG in the markdown machinery.

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

No branches or pull requests

2 participants