Code

The <Code> component provides syntax highlighting for code blocks.

The component supports many different languages such as JavaScript, Markdown, HTML, CSS and many more.









The highlighted lines show how to import and use the <Code> block.

The default language is "markdown", but you can specify any of the languages which are supported by shiki.


The Hitchhiker's Guide to the Galaxy