How could I enable Shiki Syntax Highlighting in custom theme #3904
Unanswered
cheekyshibe
asked this question in
Q&A
Replies: 1 comment
-
Simmilar problem with #3737 It need developers to find CSS properties for Shiki code tag, maybe a workaround. Is there a more unified or simpler approach that could be provided? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, I'm using vitepress and design a simple custom theme (not extending default theme).
From document: https://vitepress.dev/guide/markdown#syntax-highlighting-in-code-blocks
If I do not use the default theme for vitepress, code block will look like this:
It seems CSS files Shiki need are missed. So it there a way to use Shiki simply in custom theme?
Beta Was this translation helpful? Give feedback.
All reactions