mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
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.
8 lines
306 B
Markdown
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.
|