diff --git a/packages/mermaid/src/docs/.vitepress/config.ts b/packages/mermaid/src/docs/.vitepress/config.ts index 9771ae6f2..cd66316a3 100644 --- a/packages/mermaid/src/docs/.vitepress/config.ts +++ b/packages/mermaid/src/docs/.vitepress/config.ts @@ -120,7 +120,9 @@ function nav() { }, { text: '💻 Open Editor', - link: '/', + link: 'https://mermaid.live/edit', + target: '_blank', + rel: 'external', }, ]; } diff --git a/packages/mermaid/src/docs/index.md b/packages/mermaid/src/docs/index.md index f87b86b69..f160f7d8a 100644 --- a/packages/mermaid/src/docs/index.md +++ b/packages/mermaid/src/docs/index.md @@ -17,7 +17,9 @@ hero: actions: - theme: brand text: Try Editor - link: / + link: https://mermaid.live/edit + target: _blank + rel: external - theme: alt text: Get started link: /intro/