jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
191 stars 61 forks source link

:mermaid: Add conversion for static exports of mermaid diagrams #1452

Open agoose77 opened 1 month ago

agoose77 commented 1 month ago

@roaldarbol this is a WIP, but I think you could try it out and see what else needs doing. I'm off this week, so I'll have little time to iterate.

You'll need mmdc on your PATH, as well as inkscape. I suspect things like figure centering might need additional work.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: f4cbafd204ddc7b7bde831ebd652e9b63de0e011

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages | Name | Type | | ---------------- | ----- | | myst-transforms | Minor | | myst-common | Patch | | myst-cli | Patch | | myst-config | Patch | | myst-frontmatter | Patch | | myst-spec-ext | Patch | | mystmd | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

roaldarbol commented 1 month ago

Hi @agoose77! Awesome, that's great to hear! There's no rush on my side - I'm just trying to assure that I won't be caught in a pickle close to submission. Enjoy your week off! 🥳