-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
What is the suggested mime type and file extension? #3098
Comments
+1 |
I'm suggesting file extension |
Not to flog this too much, but it really would be helpful for broader, consistent adoption of mermaid by downstreams. While going through the full IANA process is... a lot, just having a note on the main documentation website would be sufficient for moving forward. Perhaps a concrete PR to the docs would be the most effective way forward.
This is a fine, and is generally used both in this repo and in the wild.
This may be a bit too terse. Perhaps something more searchable would be useful if one found a random file-on-the-wire:
Or, with the
Another path altogether, as mermaid does (optionally) embed a modified subset of markdown, might be to consider documenting a markdown variant string, which has a separate registry, and also requires the
However, this is unattractive, as basically no other markdown engine would work with such a document outside of the widely-used fenced code block syntax, or one of the less-supported syntaxes. |
Opened #4485 |
…-mime Document recommended file extension and MIME type docs
If I were to keep Mermaid graphs in a separate file and include them, what file extension would that me? If I were to serve that file from a web server, what is the mime type?
I did not find anything about this in the docs.
The text was updated successfully, but these errors were encountered: