CodeBlockProps
CodeBlockProps:
object
Type declaration
Name | Type | Description |
---|---|---|
content | string | Your code (as text). |
highlighting | boolean | Whether or not to apply syntax highlighting to the rendered code. Default true |
language | Language | Specify the code language to apply syntax highlighting to the code block. Default text |