Code Block (Dynamic)
A codeblock that also highlights code
Usage
This component, different from the MDX CodeBlock
component, can be used without MDX.
It highlights the code with Shiki and use the default component to render it.
Features:
- Can be pre-rendered on server
- load languages and themes on browser lazily
Options
Edit on GitHub
Last updated on