Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
henrmota authored Oct 22, 2024
1 parent 78aacec commit 11407b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A plugin for MDX that utilizes Shiki for syntax highlighting. This package is de
To install the package, you can use npm or yarn. Make sure to also install Shiki as a peer dependency.

```bash
npm install @henmota/shiki-mdx shiki
npm install @henmota/shiki-mdx shiki rehype-raw
```

## Usage
Expand Down Expand Up @@ -40,7 +40,7 @@ const { frontmatter, mdxContent } = await compileMDX({
remarkGfm,
[remarkShikiMdx, { theme: "vitesse-dark" }],
],
rehypePlugins: [rehypeKatex, rehypeRaw],
rehypePlugins: [rehypeRaw],
format: "mdx",
},
parseFrontmatter: true,
Expand Down

0 comments on commit 11407b9

Please sign in to comment.