Open yeskunall opened 9 months ago
~Ran into an issue that I cannot fix myself without committing directly to upstream. So Iāll try another way, or just ditch the idea of bright
for syntax highlighting as of now.~
bright
may not work, but looks like Astro supports Shiki(ji) in markdown now.
Shikiji uses hast
internally, and with support for in-built (and custom) transformers, I can achieve what Iām doing with rehype-pretty-code
with built-in Astro + Shikiji features instead.
Thereās also astro-expressive-code
Replace
rehype-pretty-code
withshikiji
.