-
Notifications
You must be signed in to change notification settings - Fork 31
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
Configure file save location without a vFile? #8
Comments
I have a fork (described in #10) that includes an It doesn't matter either way to me, so I'm happy to change it. Much easier to change it before it's merged though. |
I think relative to the package root would work best here. At least for docusaurus, it expects all images to be in the /static/img directory, but you are allowed to put documents in subdirectories. |
Any update on this issue ? I would love to use mermaid with docusaurus. I don't know how you figured out, that the problem is with the file save location, all I get is:
Edit: Seem like some stuff going on there: https://docusaurus.io/feature-requests/p/add-mermaid-support |
I am trying to use remark-mermaid with Docusaurus v2, which seems like it could be a very powerful combination.
However, by default remark-mermaid saves to the current directory. It would work if the remark plugin either ran the initialization script for mermaid.js when you use simple (not easy to insert that into markdown without swizzling, or at least I couldn't see that option in Docusaurus), or allowed you to more easily configure the save location for all images by passing it as an option at config time, just like the
simple
option.The text was updated successfully, but these errors were encountered: