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

Document recommended file extension and MIME type docs #4485

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/ecosystem/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,14 @@ They also serve as proof of concept, for the variety of things that can be built
- [NiceGUI: Let any browser be the frontend of your Python code](https://nicegui.io)
- [ui.mermaid(...)](https://nicegui.io/reference#mermaid_diagrams)
- [ui.markdown(..., extras=\['mermaid'\])](https://nicegui.io/reference#markdown_element)

## Recommendations

### File Extension

Applications that support editing and saving mermaid files are encouraged to use the `.mmd` file extension.

### MIME Type

While not officially recognized by the [IANA](https://www.iana.org/assignments/media-types/media-types.xhtml),
the recommended MIME type for mermaid media is `text/vnd.mermaid`.
11 changes: 11 additions & 0 deletions packages/mermaid/src/docs/ecosystem/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,14 @@ They also serve as proof of concept, for the variety of things that can be built
- [NiceGUI: Let any browser be the frontend of your Python code](https://nicegui.io)
- [ui.mermaid(...)](https://nicegui.io/reference#mermaid_diagrams)
- [ui.markdown(..., extras=['mermaid'])](https://nicegui.io/reference#markdown_element)

## Recommendations

### File Extension

Applications that support editing and saving mermaid files are encouraged to use the `.mmd` file extension.
bollwyvl marked this conversation as resolved.
Show resolved Hide resolved

### MIME Type

While not officially recognized by the [IANA](https://www.iana.org/assignments/media-types/media-types.xhtml),
the recommended MIME type for mermaid media is `text/vnd.mermaid`.