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 syntax : mermaid-cli #701

Open
ccoVeille opened this issue Feb 18, 2025 · 3 comments
Open

support mermaid syntax : mermaid-cli #701

ccoVeille opened this issue Feb 18, 2025 · 3 comments
Labels
tool Issue or pull request that adds support for new tooling

Comments

@ccoVeille
Copy link
Contributor

https://github.com/mermaid-js/mermaid-cli

It's a pain when a markdown file contain an invalid mermaid syntax

I'm unsure there is a formatter, but at least syntax could be used to generate image and so lint them

@ccoVeille
Copy link
Contributor Author

BTW, I found nothing about mermaid in mdsf but this

"mermaid" => Some(".mmd"),

I'm unsure where this mermaid line comes from

@hougesen
Copy link
Owner

Wouldn't image generation require the user to input some kind of filename?

I'm unsure where this mermaid line comes from

The lines in that file is generated from this file https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml.

@ccoVeille
Copy link
Contributor Author

Wouldn't image generation require the user to input some kind of filename?

You are creating temporary local file for the source, then you delete it?

It differs from classic workflow indeed, but I think you can try to your filename suffixed with .png, and delete it too once generated.

@hougesen hougesen added the tool Issue or pull request that adds support for new tooling label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tool Issue or pull request that adds support for new tooling
Projects
None yet
Development

No branches or pull requests

2 participants