hugo-coder
hugo-coder copied to clipboard
Mermaid support
Is there any plan/way to support mermaid in this theme?
Not, but it is a good addition for this theme.
Closing because #595 was merged.
How, exactly, does one use the mermaid feature? I do not see that shortcode importing the mermaid.js script anywhere.
Something broken when we made a recent refactor. I'm going to take a look.
It is working now. See here. Sadly, It is not possible to change themes yet. I need to make a little refactor to make it happen.
Is it possible to make mermaid generate the .svg, and then embed that into the webpage? Even the minified javascript is over 1MB in size, and makes it impossible to have a javascript-free site. Edit: Similar to this https://github.com/SimonKenyonShepard/mermaidjs-github-svg-generator
Yes, you could add the generated images as static files. But, you'll need to create a Makefile
or something like that to generate the images before running Hugo.
Yes, you could add the generated images as static files. But, you'll need to create a
Makefile
or something like that to generate the images before running Hugo.
Nice, gonna look into that. Thanks!