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

Use nuxt-shiki for syntax highlighting #148

Closed
pi0 opened this issue Feb 14, 2024 · 1 comment
Closed

Use nuxt-shiki for syntax highlighting #148

pi0 opened this issue Feb 14, 2024 · 1 comment

Comments

@pi0
Copy link
Contributor

pi0 commented Feb 14, 2024

Hi. Today I learned (unjs/undocs#45) that there are several places Shiki is being integrated into Nuxt (MDC and UI at least I know) and also maintaining/well-testing shiki with an optimized integration is becoming trickier every day including tree-shaking, configuration, and wasm support PS if someone wants directly use shiki API for code highlighting, they need to again duplicate logics (like un undocs)

I made a quick draft of nuxt-shiki module to make it more standard from one place.

I would love to hear what would be needed / what features are missing to make this happen.

(UI discussion nuxt/ui#1361)

@pi0
Copy link
Contributor Author

pi0 commented Apr 8, 2024

nuxt-shiki should be ready and stable to use but I am no longer interested in tracking this migration feel free to adopt or not.

@pi0 pi0 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
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

Successfully merging a pull request may close this issue.

1 participant