mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
syntax_highlighting_and_error_highlighting.md: tip HtmlSyntaxInfoUtil
This commit is contained in:
parent
7111a8ef07
commit
69417418e4
@ -37,6 +37,10 @@ For highlighting lexer errors, the standard `TextAttributesKey` for bad characte
|
||||
**Examples:**
|
||||
- [`SyntaxHighlighter`](upsource:///plugins/properties/properties-psi-api/src/com/intellij/lang/properties/PropertiesHighlighter.java) implementation for [Properties language plugin](upsource:///plugins/properties/)
|
||||
- [Custom Language Support Tutorial: Syntax Highlighter](syntax_highlighter_and_color_settings_page.md)
|
||||
|
||||
> Use [`HtmlSyntaxInfoUtil`](upsource:///platform/lang-impl/src/com/intellij/openapi/editor/richcopy/HtmlSyntaxInfoUtil.java) to create Lexer-based highlighted code samples, e.g. for usage in documentation.
|
||||
>
|
||||
{type="tip"}
|
||||
|
||||
## Parser
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user