Skip to content

bxp-code v1.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Mar 14:06
· 7 commits to main since this release

Current Release

version: 1.0.0

Title

bxp-code v1.0.0

Description

bxp-code v1.0.0 — drop-in React code blocks with Shiki highlighting, Prettier formatting, and zero config.

Highlights

  • Two components
    • <BxpCode> — single code block with header, copy button, line numbers, Shiki highlighting, and Prettier formatting.
    • <BxpCodeTabs> — tabbed code blocks for multi-snippet examples (languages, package managers, etc.)
  • VS Code-accurate highlighting (TextMate grammars via Shiki)
  • Prettier formatting on render for supported languages
  • Zero-config defaults with full customization via props
  • Sticky headers designed to work in scroll containers

Links