Skip to content

Millions of calls to: "mmdc -i xx.md -o xx.pdf" #4806

Answered by aloisklink
rccclr asked this question in Q&A
Discussion options

You must be logged in to vote

No worries :) I have a package called remark-mermaid-dataurl that converts thousands of mermaid diagrams into SVGs in markdown diagrams, so I basically did the same thing!

By the way, please feel free to press the Mark as answer button on my comment once you confirm that it's working!

It might make sense to officially add this feature to the @mermaid-js/mermaid-cli project! But considering how hard it would be to handle the list of input files/output files/number of cores/jobs, maybe it's easier to just leave it for users to adapt the script above.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rccclr
Comment options

@aloisklink
Comment options

Answer selected by rccclr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants