I had to change "mdmath.delimiters": "'dollars'" to "mdmath.delimiters": "dollars" (i.e., remove single quotes within double quotes around dollars) in settings.json in order to render as expected math in VS Code on Ubuntu 18.04. Before removing the single quotes, TeX syntax just showed up as typed in the source.
I had to change
"mdmath.delimiters": "'dollars'"
to"mdmath.delimiters": "dollars"
(i.e., remove single quotes within double quotes around dollars) in settings.json in order to render as expected math in VS Code on Ubuntu 18.04. Before removing the single quotes, TeX syntax just showed up as typed in the source.Before:
After: