From 9c4472ba37b06f960b50eb112d64b6caa809d037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Mon, 21 Jun 2021 19:03:07 +0200 Subject: [PATCH] documentation.md: link HtmlSyntaxInfoUtil --- .../reference_guide/custom_language_support/documentation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/topics/reference_guide/custom_language_support/documentation.md b/topics/reference_guide/custom_language_support/documentation.md index d81638405..87f9ea935 100644 --- a/topics/reference_guide/custom_language_support/documentation.md +++ b/topics/reference_guide/custom_language_support/documentation.md @@ -37,6 +37,10 @@ A common choice is to extract and format documentation comments. 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: