Skip to content

Where to add the rehype plugin ? #946

Answered by fuma-nama
Gitstar-OC asked this question in Q&A
Discussion options

You must be logged in to vote

The rehypeCodeOptions is what you need, it offers the same options as Shiki's rehype integration + some of our own features
(note: with global config, you use defineConfig's mdx option instead of getDefaultMDXOptions)

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@fuma-nama
Comment options

@Gitstar-OC
Comment options

@fuma-nama
Comment options

Comment options

You must be logged in to vote
1 reply
@Gitstar-OC
Comment options

Comment options

You must be logged in to vote
4 replies
@Gitstar-OC
Comment options

@fuma-nama
Comment options

@Gitstar-OC
Comment options

@fuma-nama
Comment options

Answer selected by Gitstar-OC
Comment options

You must be logged in to vote
1 reply
@fuma-nama
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants