Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to render Mermaid diagrams #3242

Open
agritheory opened this issue Mar 10, 2025 · 1 comment
Open

Unable to render Mermaid diagrams #3242

agritheory opened this issue Mar 10, 2025 · 1 comment

Comments

@agritheory
Copy link

Environment

  • Operating System: Linux
  • Node Version: v20.11.0
  • Nuxt Version: 3.16.0
  • CLI Version: 3.22.5
  • Nitro Version: 2.11.6
  • Package Manager: npm@10.5.1
  • Builder: -
  • User Config: modules, css, vue, router, content, compatibilityDate, nitro, vite, eslint, googleFonts
  • Runtime Modules: @nuxt/content@3.3.0, @nuxt/eslint@1.2.0, @nuxtjs/google-fonts@3.2.0
  • Build Modules: -

Version

v3

Reproduction

https://github.com/agritheory/atsite/pull/54

Yes, this is private repo. This reproduction requirement in all cases is very heavy handed.

Description

I am seeing a combination of issues that I think has to be a bug.
Mermaid diagrams are not rendered as mermaid but are styled as code blocks.
The API for incorporating a plugin as was done in content v2 is not clear.
Having both highlight and remarkPlugins keys in the markdown config section breaks the content.config.js path resolution so markdown files can't be found.

Additional context

No response

Logs

@farnabaz
Copy link
Member

Hello @agritheory,
Is it possible for you to give me access to repo? Or maybe provide a simple reproduction or some snippets and details to who to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants