Beta Widget - Stability NoticeThis widget is currently in beta. While functional, some aspects may change before the stable release:
- Hardcoded colors: Uses fixed colors that don’t fully adapt to theme changes
- Dark theme only: Currently optimized for dark themes only
- Loading states: Basic loading and error handling that will be enhanced
- Copy feedback: Copy button works but visual feedback for successful copying is planned for future releases
These limitations will be addressed in upcoming releases as the widget moves toward stable release.
Example
Properties
Required
The code content to display with syntax highlighting.
Content
The programming language for syntax highlighting. Supports common languages like ‘json’, ‘javascript’, ‘typescript’, ‘python’, ‘yaml’, etc.
Behavior
- The block needs a bounded width.
- The copy button copies the whole string.
- The text can still be selected.
- A loading indicator shows while the highlighter starts.