diff --git a/docs/custom/highlighters.md b/docs/custom/highlighters.md index fdae2dc0c9..1b370b625f 100644 --- a/docs/custom/highlighters.md +++ b/docs/custom/highlighters.md @@ -28,10 +28,6 @@ highlighter: Prism -:::warning -For now, Shiki Magic Move does not support transformers defined in custom configurations. -::: - Create `./setup/shiki.ts` file with the following content: ```ts @@ -53,6 +49,10 @@ export default defineShikiSetup(() => { Refer to [Shiki's docs](https://shiki.style) for available theme names. +:::info +For now, Shiki Magic Move does not support transformers. +::: + ## Configure Prism To configure your Prism, you can just import the theme CSS or use [`prism-theme-vars`](https://github.com/antfu/prism-theme-vars) to configure themes for both light and dark mode. Refer to its docs for more details.