@input-kit/code
Code block with syntax highlighting
npm
npm install @input-kit/codeThis package has no automated tests yet. The implementation works and the demo below is live, but there is no suite guarding it. Adding one is the most useful contribution available here — see CONTRIBUTING.
Live demo
Loading demo…
Exports
- Language
- Theme
- Token
- CodeBlockProps
- useCodeHighlight
- CodeBlock
- InlineCode
- THEMES