Skip to content

CodeBlockProps

CodeBlockProps: object

Type declaration

NameTypeDescription
contentstringYour code (as text).
highlightingbooleanWhether or not to apply syntax highlighting to the rendered code. Default true
languageLanguageSpecify the code language to apply syntax highlighting to the code block. Default text