mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
documentation.md: link HtmlSyntaxInfoUtil
This commit is contained in:
parent
8eded775af
commit
9c4472ba37
@ -38,6 +38,10 @@ To format the documentation contents, you should use
|
||||
[`DocumentationMarkup`](upsource:///platform/analysis-api/src/com/intellij/lang/documentation/DocumentationMarkup.java)
|
||||
to achieve a consistent output.
|
||||
|
||||
> Use [`HtmlSyntaxInfoUtil`](upsource:///platform/lang-impl/src/com/intellij/openapi/editor/richcopy/HtmlSyntaxInfoUtil.java) to create Lexer-based highlighted code samples.
|
||||
>
|
||||
{type="tip"}
|
||||
|
||||
Once these steps are completed, the following additional features can be implemented:
|
||||
|
||||
* Implement `getQuickNavigateInfo()` to provide the text that should be displayed when an element is hovered over with <shortcut>Ctrl</shortcut>/<shortcut>Cmd</shortcut> pressed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user