Code Block
A container used to display code segments with syntax highlighting and formatting.
No filename
Hide line numbers
Highlight lines
Flat top
Supported languages
Usage via MDX
To use CodeBlock
in MDX, either import it or type basic Markdown syntax, which will parse the MDX and render an instance of CodeBlock
. To provide props, include them after the 3 backticks and specified language.