Beautiful code blocks for Markdown or MDX.
@rehype-pretty/transformers
. Release the first transformer: @rehype-pretty/transformers/copy-button
(see example usage)@rehype-pretty/transformers
. Release the first transformer: @rehype-pretty/transformers/copy-button
(see example usage)rehypePrettyCode
plugin is invoked multiple times and the options object is not a static reference.shiki
v1npm uninstall shikiji
npm install shiki
grid: true
- by @atomiks in https://github.com/atomiks/rehype-pretty-code/issues/158 (20159)
math
lang - by @atomiks in https://github.com/atomiks/rehype-pretty-code/issues/159 (ab71a)