A code block that shows plain text at once and colours it in place with on-demand Shiki, with tabs that sync across blocks, marked lines, diffs, collapsing and a copy button.
A code block that shows plain text at once and colours it in place with on-demand Shiki, with tabs that sync across blocks, marked lines, diffs, collapsing and a copy button.
Files · 1
Dependencies
npm packages
motion@^13.1.1
shiki@^3.23.0
Registry items
utils
Registry Items
code-block
Configuration
Name
code-block
Type
Component
Description
A code block that shows plain text at once and colours it in place with on-demand Shiki, with tabs that sync across blocks, marked lines, diffs, collapsing and a copy button.