Commit Graph
15 Commits
Author SHA1 Message Date
Sidharth Vinod b466e8430e feat: Show mermaid.live privacy policy only on mermaid.live
As the OSS project only controls the mermaid.live domain, we're adding an env variable to let anyone who is self hosting live editor to set their own privacy policy, or to hide the button if they want to.
2026-03-16 23:29:13 +09:00
Sidharth Vinod d72e91a7b8 chore: Make docs URL configurable during build 2026-01-28 11:37:12 +05:30
Sidharth Vinod feb3ba88a5 format: eslint + prettier 2025-03-14 11:24:44 -07:00
Sidharth Vinod 30cb61b966 feat: Share modal 2025-03-13 19:50:41 -07:00
Vipin Ajayakumar f66331852e Disable buttons/links to share data with other websites depending on env variables 2024-09-28 16:12:43 +01:00
Sidharth Vinod e7293cc0a9 feat: Add env vars to configure plausible 2023-12-11 17:42:38 +05:30
Max Stanley 11a814ac7d Add environment arguments to Dockerfile 2023-11-21 21:00:14 +00:00
Sidharth Vinod 0ac606b8fb chore: Tabs -> Spaces
Github PR reviews will be formatted much better.
Inline with mermaid project.
2022-11-03 14:09:36 +05:30
Sidharth Vinod 384e53d02e asyncable 2022-10-19 15:17:52 +05:30
Sidharth Vinod b596c58ca7 chore: Remove commented code 2022-09-10 20:53:34 +05:30
Sidharth Vinod 90445dbf46 Simplify debounce handling
Previously events were debounced at source of generation.
Now they are debounced only at effected areas where necessary.
2022-09-10 13:53:03 +05:30
Sidharth Vinod 64e8ed09ba Fix race condition 2022-09-02 21:01:14 +05:30
Sidharth Vinod 9fb7c4a176 fix: Types 2022-01-21 00:41:24 +05:30
Marek Skrobacki 36bcd32ee3 Kroki support
This commit adds support for generating links to be rendered with
[Kroki](https://kroki.io) compatible renderer. Apart from supporting many other
diagram formats, it directly benefits Mermaid editor because it generates much
shorter URLs (due to the compression).

Custom Kroki URL can be configured through environment variable if you want to
use self-hosted instance of Kroki.
2022-01-17 20:51:30 +00:00
Sidharth Vinod aadf4ec8dc feat: Add renderer url config 2021-10-02 13:39:07 +05:30