Closed goessner closed 4 years ago
This effect occurs, when a single markdown file is loaded into VSCode, in contrast to have the corresponding workspace folder opened.
As it is not unusual, to simultaneously edit several markdown files from possibly different workspaces, that faulty scenario is considered a normal one.
So in order to enable math in microJam, a user is recommended to add
`File > Preferences > Settings > Extensions >microjam > edit in settings.json
"microjam.markdownItPlugins": {
"markdown-it-texmath": {
"engine": "katex",
"delimiters": "dollars",
"macros": {"\\RR": "\\mathbb{R}"}
}
}
this is from now on the user dependent global math setting.
microjam does not load math plugin
markdown-it-texmath
, whenmarkdown-it-texmath
is listed under plugins insettings.json
... and ...math: true
in the file's frontmatter section is set.This affects only the markdown preview in VSCode. Resulting HTML works as expected.