From 64558ffa9cfcf951448202067d2a21d0d66fdc32 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Mon, 12 Jun 2023 09:09:29 -0500 Subject: [PATCH] strawman extension and mime type docs --- packages/mermaid/src/docs/ecosystem/integrations.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/mermaid/src/docs/ecosystem/integrations.md b/packages/mermaid/src/docs/ecosystem/integrations.md index cd6f5058d..2e67600d9 100644 --- a/packages/mermaid/src/docs/ecosystem/integrations.md +++ b/packages/mermaid/src/docs/ecosystem/integrations.md @@ -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. + +### 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`.