Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 16, 2024
1 parent 89808c7 commit 25ecff6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/custom/highlighters.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ highlighter: Prism

<Environment type="node" />

:::warning
For now, Shiki Magic Move does not support transformers defined in custom configurations.
:::

Create `./setup/shiki.ts` file with the following content:

```ts
Expand All @@ -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.

0 comments on commit 25ecff6

Please sign in to comment.