In the language my plugin supports, the built-in functions are often mathematical and their short documentation often contains formulas. The native usage docs look like this
and until now, I have approximated this native documentation with HTML only in my DocumentationProvider. When users open quick-doc on a function, it looks like this
It's not perfect but readable. However, I thought about improving the representation, and I tried the following when providing the string from com.intellij.lang.documentation.DocumentationProvider#generateDoc
- include custom CSS that's supposed to mimic MathML
Nothing worked, and I guess the underlying JBHtmlFactory (if I traced that right) just isn't capable of these things.
Question: Is there something that I miss or am I stuck with plain HTML?