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

Support mermaid diagrams #88

Open
PhilippMDoerner opened this issue Dec 25, 2023 · 1 comment
Open

Support mermaid diagrams #88

PhilippMDoerner opened this issue Dec 25, 2023 · 1 comment

Comments

@PhilippMDoerner
Copy link
Contributor

I use mermaid diagrams sometimes, mostly because github markdown natively has support for them.

Recent usage example: https://github.com/PhilippMDoerner/ThreadButler

Nimibook does not render such blocks (since they're not markdown). Recent example: https://philippmdoerner.github.io/ThreadButler/bookCompiled/index.html

I would like for nimibook to also be able to render mermaid-blocks such as this into corresponding diagrams.

Guides for how to do so are defined here: https://mermaid.js.org/config/usage.html?id=usage

Would that be a possible addition?

@HugoGranstrom
Copy link
Collaborator

There is this example: https://nimib-land.github.io/nblog/drafts/mermaid_diagram.html

We plan on adding it to nimibex when we get started with it, but we haven't done that yet. Hopefully you can use this in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants