Closed sandros94 closed 7 months ago
This regression is mainly due to awaiting shiki: https://github.com/Sandros94/nuxt-markdown-render/blob/4a1ebaf89a4f3b0a86f7fe2f30899ec0e4b95962/src/runtime/components/nuxt-markdown.vue#L87
I wonder if it is possible to just lazy load it and make the colors just pop, like on GitHub
Since #4 and the release of
1.7.0
there has been a performance regression. I guess it should have been expected.This should be caused by me because I'm re-instancing
markdown-it
at each component/composable use