pub fn Code(props: CodeProps) -> ElementExpand description
Inline code, or a code block with syntax highlighting, a header, and an optional copy button.
Highlighting uses the same tokenizer as lumen-core, for JavaScript, TypeScript, JSON, Bash,
Lua, Markdown, HTML and other markup, SQL, and YAML.