Closed pi0 closed 4 months ago
Latest commit: |
3a5fe7c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://53591d29.undocs.pages.dev |
Branch Preview URL: | https://feat-highlight-code.undocs.pages.dev |
@pi0 this would work if the Shiki
just return the generate code with pre
tag vs with div
or span
. That is what the ProseCode
expects.
If you see it adds an extra div
.
Yes just talking with @benjamincanac and he mentioned it is hard to support without unwrap.
I guess will endup with a dirty transform in nuxt-shiki to unwrap…
Okay we supprot unwrap and have a working poc but just noticed the blocks are single colored 😆 (sometimes I feel trapped with over engineering)
[wip]