Interface: CodeBlockProps
Properties
code
code: stringThe code to display
language
optional
language: stringProgramming language for syntax highlighting
title
optional
title: stringOptional title shown above the code
lineNumbers
optional
lineNumbers: booleanShow line numbers
highlightLines
optional
highlightLines: number[]Line numbers to highlight
children
optional
children: ReactNodeOptional custom content to render instead of the code