mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Merge branch 'master' into develop
* master: update link to mermaid chart playground fix promo bar links Fix text color Add animated transitions feat: Update promo bar links update badge on mermaid chart page remove product hunt badge chore: Revert pnpm changes add most recent blog posts update product hunt badges chore: Update docs Add Slidev to the list of integrations add announcement bar to docs and minor styling update update product hunt badge on mermaid chart page add product hunt badge to homepage fix linting issue add blog post confluence plugin
This commit is contained in:
commit
2fe5e678bf
@ -58,6 +58,7 @@ rehype
|
|||||||
roughjs
|
roughjs
|
||||||
rscratch
|
rscratch
|
||||||
shiki
|
shiki
|
||||||
|
Slidev
|
||||||
sparkline
|
sparkline
|
||||||
sphinxcontrib
|
sphinxcontrib
|
||||||
ssim
|
ssim
|
||||||
|
@ -59,6 +59,7 @@ To add an integration to this list, see the [Integrations - create page](./integ
|
|||||||
- [MonsterWriter](https://www.monsterwriter.com/) ✅
|
- [MonsterWriter](https://www.monsterwriter.com/) ✅
|
||||||
- [Joplin](https://joplinapp.org) ✅
|
- [Joplin](https://joplinapp.org) ✅
|
||||||
- [LiveBook](https://livebook.dev) ✅
|
- [LiveBook](https://livebook.dev) ✅
|
||||||
|
- [Slidev](https://sli.dev) ✅
|
||||||
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) ✅
|
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) ✅
|
||||||
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) ✅
|
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) ✅
|
||||||
- [Mermerd](https://github.com/KarnerTh/mermerd)
|
- [Mermerd](https://github.com/KarnerTh/mermerd)
|
||||||
|
@ -12,7 +12,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun
|
|||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<a href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=416671&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
<a href="https://www.producthunt.com/products/mermaid-chart?utm_source=badge-follow&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/follow.svg?product_id=552855&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
|
@ -6,6 +6,30 @@
|
|||||||
|
|
||||||
# Blog
|
# Blog
|
||||||
|
|
||||||
|
## [Mermaid AI Is Here to Change the Game For Diagram Creation](https://www.mermaidchart.com/blog/posts/mermaid-ai-is-here-to-change-the-game-for-diagram-creation/)
|
||||||
|
|
||||||
|
22 July 2024 · 5 mins
|
||||||
|
|
||||||
|
The Mermaid AI chat interface
|
||||||
|
|
||||||
|
## [How to Make a Sequence Diagram with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-sequence-diagram-in-mermaid-chart-step-by-step-guide/)
|
||||||
|
|
||||||
|
8 July 2024 · 6 mins
|
||||||
|
|
||||||
|
Sequence diagrams are important for communicating complex systems in a clear and concise manner.
|
||||||
|
|
||||||
|
## [How to Use the New “Comments” Feature in Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-use-the-new-comments-feature-in-mermaid-chart/)
|
||||||
|
|
||||||
|
2 July 2024 · 3 mins
|
||||||
|
|
||||||
|
How to Use the New Comments Feature in Mermaid Chart
|
||||||
|
|
||||||
|
## [How to Use the official Mermaid Chart for Confluence app](https://www.mermaidchart.com/blog/posts/how-to-use-the-official-mermaid-chart-for-confluence-app/)
|
||||||
|
|
||||||
|
21 May 2024 · 4 mins
|
||||||
|
|
||||||
|
It doesn’t matter if you’re a data enthusiast, software engineer, or visual storyteller; our Confluence app can allow you to embed Mermaid Chart diagrams — and dynamically edit them — within your Confluence pages.
|
||||||
|
|
||||||
## [How to Choose the Right Documentation Software](https://www.mermaidchart.com/blog/posts/how-to-choose-the-right-documentation-software/)
|
## [How to Choose the Right Documentation Software](https://www.mermaidchart.com/blog/posts/how-to-choose-the-right-documentation-software/)
|
||||||
|
|
||||||
7 May 2024 · 5 mins
|
7 May 2024 · 5 mins
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
<template>
|
||||||
|
<div class="-mt-6 mb-8">
|
||||||
|
<a
|
||||||
|
href="https://www.producthunt.com/posts/mermaid-ai-2?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-ai-2"
|
||||||
|
target="_blank"
|
||||||
|
><img
|
||||||
|
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=465568&theme=light"
|
||||||
|
alt="Mermaid AI - Maximize your diagramming efficiency with Mermaid AI | Product Hunt"
|
||||||
|
style="width: 250px; height: 54px"
|
||||||
|
width="250"
|
||||||
|
height="54"
|
||||||
|
/></a>
|
||||||
|
</div>
|
||||||
|
</template>
|
@ -1,26 +1,65 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { ref, onMounted } from 'vue';
|
||||||
|
|
||||||
|
interface Taglines {
|
||||||
|
label: string;
|
||||||
|
url: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const taglines: Taglines[] = [
|
||||||
|
{
|
||||||
|
label: 'Use the Visual Editor in Mermaid Chart to design and build diagrams',
|
||||||
|
url: 'https://www.mermaidchart.com/play?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=visual_editor',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Diagram live with teammates in Mermaid Chart',
|
||||||
|
url: 'https://www.mermaidchart.com/play?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=teams',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Skip the rough draft with Mermaid AI in Mermaid Chart',
|
||||||
|
url: 'https://www.mermaidchart.com/play?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=mermaid_ai',
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
let index = ref(Math.floor(Math.random() * taglines.length));
|
||||||
|
onMounted(() => {
|
||||||
|
setInterval(() => {
|
||||||
|
index.value = (index.value + 1) % taglines.length;
|
||||||
|
}, 60_000);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div class="mb-4 w-full top-bar bg-gradient-to-r from-[#bd34fe] to-[#ff3670] flex p-1">
|
||||||
class="w-full top-bar bg-gradient-to-r from-[#bd34fe] to-[#ff3670] flex items-center text-center justify-center p-1 text-white"
|
<p class="w-full tracking-wide fade-text">
|
||||||
>
|
<transition name="fade" mode="out-in">
|
||||||
<p class="flex-grow text-center tracking-wide text-text">
|
<a
|
||||||
<a
|
:key="index"
|
||||||
href="https://www.mermaidchart.com/landing"
|
:href="taglines[index].url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="unstyled flex-grow tracking-wide plausible-event-name=bannerClick"
|
class="unstyled flex justify-center items-center gap-4 text-white tracking-wide plausible-event-name=bannerClick"
|
||||||
>
|
|
||||||
<span class="text-primary-50 font-semibold">{{
|
|
||||||
[
|
|
||||||
'Try diagramming with ChatGPT at Mermaid Chart',
|
|
||||||
'Try Mermaid’s Visual Editor at Mermaid Chart',
|
|
||||||
'Enjoy live collaboration with teammates at Mermaid Chart',
|
|
||||||
][Math.floor(Math.random() * 3)]
|
|
||||||
}}</span>
|
|
||||||
<button
|
|
||||||
class="ml-4 rounded bg-[#111113] p-1 px-2 text-sm font-semibold tracking-wide text-white"
|
|
||||||
>
|
>
|
||||||
Try it now
|
<span class="font-semibold">{{ taglines[index].label }}</span>
|
||||||
</button>
|
<button class="rounded bg-[#111113] p-1 px-2 text-sm font-semibold tracking-wide">
|
||||||
</a>
|
Try it now
|
||||||
|
</button>
|
||||||
|
</a>
|
||||||
|
</transition>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.fade-enter-active,
|
||||||
|
.fade-leave-active {
|
||||||
|
transition: opacity 1s;
|
||||||
|
}
|
||||||
|
.fade-enter-from,
|
||||||
|
.fade-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.fade-enter-to,
|
||||||
|
.fade-leave-from {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -11,11 +11,11 @@ import HomePage from '../components/HomePage.vue';
|
|||||||
import TopBar from '../components/TopBar.vue';
|
import TopBar from '../components/TopBar.vue';
|
||||||
import { getRedirect } from './redirect.js';
|
import { getRedirect } from './redirect.js';
|
||||||
// @ts-ignore Type not available
|
// @ts-ignore Type not available
|
||||||
import { h } from 'vue';
|
|
||||||
import Theme from 'vitepress/theme';
|
|
||||||
import '../style/main.css';
|
|
||||||
import 'uno.css';
|
import 'uno.css';
|
||||||
import type { EnhanceAppContext } from 'vitepress';
|
import type { EnhanceAppContext } from 'vitepress';
|
||||||
|
import Theme from 'vitepress/theme';
|
||||||
|
import { h } from 'vue';
|
||||||
|
import '../style/main.css';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
...DefaultTheme,
|
...DefaultTheme,
|
||||||
@ -24,6 +24,7 @@ export default {
|
|||||||
// Keeping this as comment as it took a lot of time to figure out how to add a component to the top bar.
|
// Keeping this as comment as it took a lot of time to figure out how to add a component to the top bar.
|
||||||
'home-hero-before': () => h(TopBar),
|
'home-hero-before': () => h(TopBar),
|
||||||
'home-features-after': () => h(HomePage),
|
'home-features-after': () => h(HomePage),
|
||||||
|
'doc-before': () => h(TopBar),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
enhanceApp({ app, router }: EnhanceAppContext) {
|
enhanceApp({ app, router }: EnhanceAppContext) {
|
||||||
|
@ -54,6 +54,7 @@ To add an integration to this list, see the [Integrations - create page](./integ
|
|||||||
- [MonsterWriter](https://www.monsterwriter.com/) ✅
|
- [MonsterWriter](https://www.monsterwriter.com/) ✅
|
||||||
- [Joplin](https://joplinapp.org) ✅
|
- [Joplin](https://joplinapp.org) ✅
|
||||||
- [LiveBook](https://livebook.dev) ✅
|
- [LiveBook](https://livebook.dev) ✅
|
||||||
|
- [Slidev](https://sli.dev) ✅
|
||||||
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) ✅
|
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) ✅
|
||||||
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) ✅
|
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) ✅
|
||||||
- [Mermerd](https://github.com/KarnerTh/mermerd)
|
- [Mermerd](https://github.com/KarnerTh/mermerd)
|
||||||
|
@ -6,7 +6,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun
|
|||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<a href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=416671&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
<a href="https://www.producthunt.com/products/mermaid-chart?utm_source=badge-follow&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/follow.svg?product_id=552855&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
|
@ -1,5 +1,29 @@
|
|||||||
# Blog
|
# Blog
|
||||||
|
|
||||||
|
## [Mermaid AI Is Here to Change the Game For Diagram Creation](https://www.mermaidchart.com/blog/posts/mermaid-ai-is-here-to-change-the-game-for-diagram-creation/)
|
||||||
|
|
||||||
|
22 July 2024 · 5 mins
|
||||||
|
|
||||||
|
The Mermaid AI chat interface
|
||||||
|
|
||||||
|
## [How to Make a Sequence Diagram with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-sequence-diagram-in-mermaid-chart-step-by-step-guide/)
|
||||||
|
|
||||||
|
8 July 2024 · 6 mins
|
||||||
|
|
||||||
|
Sequence diagrams are important for communicating complex systems in a clear and concise manner.
|
||||||
|
|
||||||
|
## [How to Use the New “Comments” Feature in Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-use-the-new-comments-feature-in-mermaid-chart/)
|
||||||
|
|
||||||
|
2 July 2024 · 3 mins
|
||||||
|
|
||||||
|
How to Use the New Comments Feature in Mermaid Chart
|
||||||
|
|
||||||
|
## [How to Use the official Mermaid Chart for Confluence app](https://www.mermaidchart.com/blog/posts/how-to-use-the-official-mermaid-chart-for-confluence-app/)
|
||||||
|
|
||||||
|
21 May 2024 · 4 mins
|
||||||
|
|
||||||
|
It doesn’t matter if you’re a data enthusiast, software engineer, or visual storyteller; our Confluence app can allow you to embed Mermaid Chart diagrams — and dynamically edit them — within your Confluence pages.
|
||||||
|
|
||||||
## [How to Choose the Right Documentation Software](https://www.mermaidchart.com/blog/posts/how-to-choose-the-right-documentation-software/)
|
## [How to Choose the Right Documentation Software](https://www.mermaidchart.com/blog/posts/how-to-choose-the-right-documentation-software/)
|
||||||
|
|
||||||
7 May 2024 · 5 mins
|
7 May 2024 · 5 mins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user