HtmlChunk (@NotNull @Nls String description) { final DocstringFormatterRequest output = PyStructuredDocstringFormatter.formatDocstring(myElement, new DocstringFormatterRequest(description, Collections.emptyList()), List.of(PyStructuredDocstringFormatter.FORMATTER_FRAGMENTS_FLAG)); return output != null ? HtmlChunk.raw(output.getBody()) : HtmlChunk.text(description); }