Files
tabler/.changeset/code-block.md
Bartek 6f3529f948 Add Code block component
Adds .code-block: a dark surface around a pre with an optional header
(title and language), a copy button that uses the Clipboard plugin, line
numbers, highlighted lines and a max height variant. Ships with the
CodeBlock shared component, a demo page, a docs page with the class
reference, menu entries and a screenshot page.
2026-10-08 19:41:50 +02:00

8 lines
306 B
Markdown

---
'@tabler/core': minor
'@tabler/preview': minor
'@tabler/docs': minor
---
Added the code block component: `.code-block` wraps a `pre` in a dark surface with an optional header (title and language), a copy button that uses the Clipboard plugin, line numbers, highlighted lines and a max height variant.