See https://discourse.gohugo.io/t/42145/3. I think this approach is applicable.
jmooring
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is it possible to generate Mermaid images in the Hugo build process | 9 | 1808 | December 23, 2022 | |
| Can I execute arbitrary code from a shortcode | 2 | 1023 | January 27, 2015 | |
| How to "run" Javascript files with Pipes | 5 | 728 | January 13, 2023 | |
| Inline ditaa, dot or plantuml sources in hugo posts | 7 | 4463 | October 3, 2020 | |
| Javascript diagrams in Hugo? | 7 | 122 | April 22, 2026 |