-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support for Mermaid JS in Markdown content #1393
Comments
I did see this note when opening a PR, I'm going to explore this avenue. I do appreciate the desire not to bake in fetching things from 3rd party CDN servers to the greater theme. |
Okay, I was able to get this working with the custom footer approach.. although I don't seem to have access to any values in |
It looks like we might need the functionality described in #1356 to more selectively add code under |
Hi,
Hugo's documentation supports Mermaid Diagrams via Mermaid JS and I was hoping we could get this added to the theme.
I was able to get this working locally with the diff below. I'm pretty new to Hugo, so I'm unsure if this is the best place to add this functionality (specifically within single.html).
I'll create a PR shortly for review, would appreciate any feedback or guidance!
The text was updated successfully, but these errors were encountered: