#set the shiki theme?
5 messages · Page 1 of 1 (latest)
I have the themes pass into my shiki object, but I'm not sure how to invoke them within <CodeHighlight />
anyone?
You can do that by creating a custom adapter. See example of the default adapter – https://github.com/mantinedev/mantine/blob/master/packages/@mantine/code-highlight/src/CodeHighlightProvider/adapters/shiki-adapter.ts
Hello 👋 How can I set the change the theme in shiki? before v 8, I can do this by update the style color. But now i don't know how to solve this.