CodeBlock

Der CodeBlock dient der übersichtlichen Darstellung von Code als Block mit Syntax-Highlighting.GitHubMarkdown

Properties

PropertyTypeDescription
code
string
truncateLines
numberbooleanDefault: : false
Controls truncation of long code blocks. `false` disables it, `true` truncates after 8 lines, and a number sets the maximum line count.
className
string
The elements class name.
children
ReactNode
language
textgopbhtmlmapqssvgmmarkdowndinraplascasnasn1bashbfBUILDbzlcc++cc... 193 more ...
copyable
boolean
showLineNumbers
boolean

Auf dieser Seite