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 #369

Closed
xcrong opened this issue Aug 27, 2024 · 1 comment · Fixed by #370
Closed

add mermaid support #369

xcrong opened this issue Aug 27, 2024 · 1 comment · Fixed by #370
Labels
enhancement New feature or request

Comments

@xcrong
Copy link

xcrong commented Aug 27, 2024

Feature Request

Summary

add mermaid support

Motivation

give us more power to write the blog (or other)

Detailed Description

I find a blog post, Adding Mermaid.js to Zola. it add js mod in html file and then create a shortcode to support mermaid.

Additional Context

thanks.

@xcrong xcrong added the enhancement New feature or request label Aug 27, 2024
welpo added a commit that referenced this issue Aug 28, 2024
- Resolves #369.
- Implement Mermaid shortcode for diagram rendering
- Add configuration options for enabling Mermaid and local/CDN serving
- Include documentation for Mermaid usage and configuration
- Update copy codeblock to clipboard JS to avoid conflict
- Update tabi project and README description to mention the feature
@welpo
Copy link
Owner

welpo commented Aug 28, 2024

Hello,

Thanks for suggesting this feature, I love it!

It was harder than expected, but I added support for it in #370. I'll review the PR later today and merge if everything looks good.

Feel free to report any issues or impressions!

welpo added a commit that referenced this issue Aug 28, 2024
- Resolves #369
- Implement Mermaid shortcode for diagram rendering
- Add configuration options for enabling Mermaid and local/CDN serving
- Include documentation for Mermaid usage and configuration
- Update copy codeblock to clipboard JS to avoid conflict
- Update tabi project and README description to mention the feature
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