2024-08-07 10:22:45 +05:30
2024-06-16 19:11:26 +05:30
2021-07-29 20:58:37 +05:30
2024-05-23 14:05:59 +05:30
2022-11-03 14:09:36 +05:30
2024-08-07 10:22:45 +05:30
2023-11-30 18:06:19 +00:00
2022-07-06 13:01:59 +05:30
2022-11-03 14:20:55 +05:30
2023-12-05 10:18:26 +05:30
2021-05-31 13:52:28 +05:30
2021-05-09 17:30:34 +05:30
2022-07-06 13:01:59 +05:30
2024-01-11 22:23:18 +05:30
2024-01-18 20:16:40 +05:30
2023-05-16 23:52:33 +05:30
2023-12-11 18:00:20 +05:30
2024-07-24 11:26:57 +05:30
2022-11-03 14:09:36 +05:30
2024-04-09 14:00:30 +08:00
2023-09-14 13:26:19 +05:30
2022-07-07 00:22:37 +05:30
2022-11-25 11:17:30 +05:30
2024-08-07 10:22:45 +05:30
2022-11-15 18:48:16 +05:30
2022-12-14 10:18:21 +05:30
2024-07-24 11:26:57 +05:30

Mermaid Live Editor Join our Slack! Netlify Status

Contributors are welcome!

If you want to speed up the progress for mermaid-live-editor, join the slack channel and contact knsv.

mermaid-live-editor

Edit, preview and share mermaid charts/diagrams.

Features

  • Edit and preview flowcharts, sequence diagrams, gantt diagrams in real time.
  • Save the result as a svg
  • Get a link to a viewer of the diagram so that you can share it with others.
  • Get a link to edit the diagram so that someone else can tweak it and send a new link back

Live demo

You can try out a live version here.

Docker

Run published image

docker run --platform linux/amd64 --publish 8000:8080 ghcr.io/mermaid-js/mermaid-live-editor

To configure renderer URL

When building set the MERMAID_RENDERER_URL build argument to the rendering service. Default is https://mermaid.ink

To configure Kroki Instance URL

When building set the MERMAID_KROKI_RENDERER_URL build argument to your Kroki instance. Default is https://kroki.io

To configure Analytics

When building set the MERMAID_ANALYTICS_URL build argument to your plausible instance, and MERMAID_DOMAIN to your domain.

Default is empty, disabling analytics.

Development

docker compose up --build

Then open http://localhost:3000

Building and running images locally

Build

docker build -t mermaid-js/mermaid-live-editor .

Run

docker run --detach --name mermaid-live-editor --publish 8080:8080 mermaid-js/mermaid-live-editor

Visit: http://localhost:8080

Stop

docker stop mermaid-live-editor

Setup

Below link will help you making a copy of the repository in your local system.

https://docs.github.com/en/get-started/quickstart/fork-a-repo

Requirements

  • volta to manage node versions.
  • Node.js. volta install node
  • yarn package manager. volta install yarn

Development

yarn install
yarn dev -- --open

This app is created with Svelte Kit.

Release

When a PR is created targeting master, it will be built and deployed by Netlify. The URL will be indicated in a Comment in the PR.

Once the PR is merged, it will automatically be released.

Description
Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.
Readme MIT 144 MiB
Languages
TypeScript 54.5%
Svelte 38%
JavaScript 5.6%
HTML 0.7%
Shell 0.5%
Other 0.7%