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 diagram support #360

Closed
jforman opened this issue May 19, 2022 · 1 comment · Fixed by #359
Closed

Add Mermaid diagram support #360

jforman opened this issue May 19, 2022 · 1 comment · Fixed by #359
Assignees
Labels
enhancement New feature or request

Comments

@jforman
Copy link
Contributor

jforman commented May 19, 2022

Is your feature request related to a problem? Please describe.
I love the anatole hugo template, and the ability to have a wide content area. I would like to include Mermaid diagrams (https://mermaid-js.github.io/mermaid/#/) as part of my posts which often contain technical information where a diagram is incredibly helpful to have.

Describe the solution you'd like
Ability to enable mermaid support in the config (so that those who dont want to load the JS dont need to), and then include mermaid diagrams in their posts.

Describe alternatives you've considered
None

Additional context
I've tried a pull request to add the support at #359, but I'm not sure I'm understanding the templating system quite right, with the hugo documentation (https://gohugo.io/content-management/diagrams/#mermaid-diagrams). The netlify tests so far are failing with my PRs.

Thanks,

@jforman jforman added the enhancement New feature or request label May 19, 2022
@jforman
Copy link
Contributor Author

jforman commented May 20, 2022

I believe I have mermaid support correctly added with my updates to #359. Thanks!

@lxndrblz lxndrblz linked a pull request May 21, 2022 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants