Syntax Highlighter Add-on
Syntax Highlighter Add-on for Vaadin Flow
Component that allows to display formatted code snippets in various programming languages.
Wrapper around the React Syntax Highlighter component.
Features
- Supports both hljs and prism modes
- Enums with styles and languages
Sample code
SyntaxHighlighter sh = new SyntaxHighlighter(SHLanguage.JAVASCRIPT, SHStyle.A11YDARK, defaultValue, false, false);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Initial release
- Released
- 2024-08-14
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 24.4
- Browser
- Browser Independent
Syntax Highlighter Add-on - Vaadin Add-on Directory
Syntax Highlighter Add-on for Vaadin FlowComponent that allows to display formatted code snippets in various programming languages.
Wrapper around the [React Syntax Highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) component.
#### Features
* Supports both hljs and prism modes
* Enums with styles and languages
View on GitHubAuthor Homepage
Online Demo
Issue tracker
Syntax Highlighter Add-on version 1.0.0
Initial release