Skip to content

Search

Pre

FunctionText Source

A code block in rendered Markdown, on the sunken surface. Given Shiki's light and dark themes with defaultColor: false, each token takes the colour for the page's theme.

Pre(props: Props<HTMLPreElement>): Element

Parameters

propsrequiredProps<HTMLPreElement>

Returns

Element

design-system is a Ben Hodgson projectGitHub