The formula will be rendered in the message box when it is too large in partial inline mode, exceeding the line-height of your editor, similar to the second formula shown above
Note that multi-line formula won't be rendered in inline mode due to its height, you can simply hover over it for a preview in the message box.
Configuration
comment-formula.inlineColor: The color of the rendered formula inline the editor. Default is auto.
comment-formula.messageColor: The color of the rendered formula in message. Default is auto.
comment-formula.inline: The inline mode of the rendered formula. Default is partial.
all: Render all formula in inline mode.
none: You can just hover on the formula to preview it.
partial: Render formula in inline mode if the formula isn't too large.
comment-formula.symbol: The symbol to mark formula. Default is \\$.
\\$: $$x^2$$
@: @@x^2@@
#: ##x^2##
comment-formula.style: Style of formula code inline the editor.
underline: $$f(x)$$
bold: $$f(x)$$
italic: $$f(x)$$
line-through: $$f(x)$$
none: $$f(x)$$
comment-formula.enableLanguages: Enable comment-formula in these languages. LanguageId Reference. Default is ["c", "cpp", "python", "java"].