From 235cec3c4e6638f47ed6916bfa496e134582bb16 Mon Sep 17 00:00:00 2001 From: BarZ Date: Sat, 22 Aug 2026 17:51:14 +0800 Subject: [PATCH] feat: add nuxt-content-mermaid --- icons/nuxt-content-mermaid.svg | 19 +++++++++++++++++++ modules/nuxt-content-mermaid.yml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 icons/nuxt-content-mermaid.svg create mode 100644 modules/nuxt-content-mermaid.yml diff --git a/icons/nuxt-content-mermaid.svg b/icons/nuxt-content-mermaid.svg new file mode 100644 index 000000000..6d03b865c --- /dev/null +++ b/icons/nuxt-content-mermaid.svg @@ -0,0 +1,19 @@ + + + Nuxt Content Mermaid icon + + + + + + + + + + + + + + + + diff --git a/modules/nuxt-content-mermaid.yml b/modules/nuxt-content-mermaid.yml new file mode 100644 index 000000000..af1bdfe7b --- /dev/null +++ b/modules/nuxt-content-mermaid.yml @@ -0,0 +1,19 @@ +name: nuxt-content-mermaid +description: >- + A Nuxt module designed for integrating Mermaid with `@nuxt/content`. It + automatically converts `mermaid` code blocks in Markdown into responsive chart + components, and supports lazy loading and dark/light theme switching. +repo: andy820621/nuxt-content-mermaid +npm: '@barzhsieh/nuxt-content-mermaid' +icon: nuxt-content-mermaid.svg +github: https://github.com/andy820621/nuxt-content-mermaid +website: https://nuxt-content-mermaid.barz.app +learn_more: https://nuxt-content-mermaid.barz.app +category: Extensions +type: 3rd-party +maintainers: + - name: andy820621 + github: andy820621 +compatibility: + nuxt: ^3.20.1 || ^4.1.0 + requires: {}