You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rehype Pretty Code allows the specification of multiple themes in rehypePrettyCodeOptions, which generates multiple code blocks for every theme allowing for multiple custom themes.
It appears inline code-blocks are correctly handled, however multiline codeblocks only show one of the themes:
Dark theme (correct behavior):
Light theme (inline code-blocks display properly, however there no light-theme multiline codeblocks are rendered):
https://rehype-pretty-code.netlify.app, scroll down to Multiple themes (dark/light mode)
Rehype Pretty Code allows the specification of multiple themes in
rehypePrettyCodeOptions
, which generates multiple code blocks for every theme allowing for multiple custom themes.It appears inline code-blocks are correctly handled, however multiline codeblocks only show one of the themes:
Dark theme (correct behavior):
Light theme (inline code-blocks display properly, however there no light-theme multiline codeblocks are rendered):
Nextra config:
The text was updated successfully, but these errors were encountered: