-
Notifications
You must be signed in to change notification settings - Fork 44
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
Unable to integrate with markdown-it as plugin #9
Comments
This means |
I'm using // each time when dom is changed:
mermaid.initialize({
// startOnLoad: true,
theme: 'default',
gantt: {
axisFormatter: [
['%Y-%m-%d', (d) => {
return d.getDay() === 1;
}],
],
},
});
mermaid.init(); |
They won't fix it because without a browser they can't measure label strings in the layout engine. If you ask me, CSS control for font-family and font-size is far less important that being able to run headless, but it's not my project and if I forked it to impose common sense, I would then be saddled with maintaining it. |
Hi there. Looking at #4, I was able to get the plugin registered with markdown-it, but as it stands right now it is not doing anything.
Here is my code:
The following code is output:
So it doesn't look like it's generating any SVG code... unless I am misunderstanding something with the implementation?
Thanks for any help you can provide!
The text was updated successfully, but these errors were encountered: