* develop: chore(deps): bump daisyui from 1.21.0 to 1.24.3 chore(deps-dev): bump lint-staged from 12.2.0 to 12.2.1 chore(deps-dev): bump cssnano from 5.0.14 to 5.0.15 (#600) chore(deps-dev): bump autoprefixer from 10.4.0 to 10.4.2 chore(deps): bump pako from 1.0.10 to 2.0.4 chore(deps): bump mermaid from 8.13.8 to 8.13.9 chore(deps-dev): bump cypress from 9.2.0 to 9.3.1 chore(deps-dev): bump mocha from 9.1.3 to 9.1.4 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.17.2 to 3.3.0
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 --publish 8000:80 ghcr.io/mermaid-js/mermaid-live-editor
To configure renderer URL
When building, Set the Environment variable MERMAID_RENDERER_URL to the rendering service.
Default is https://mermaid.ink
To configure Kroki Instance URL
When building, Set the Environment variable MERMAID_KROKI_RENDERER_URL to your Kroki instance.
Default is https://kroki.io
Development
docker compose up --build
Then open http://localhost:8000
Setup
Volta is used for managing node and yarn versions.
This project is set up using Yarn:
yarn install
Development
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.