LineNumbers
Renders line numbers for the CodeBlock component.
API Reference
LineNumbers
View Sourcetokens
Awaited<ReturnType<typeof getTokens>>Tokens to render from getTokens.
highlightRanges
stringA string of comma separated lines and ranges to highlight.
className
stringClass name to apply to the line numbers container.
style
React.CSSPropertiesStyle to apply to the line numbers container.
Last updated