Open jordantgh opened 3 years ago
For RMD files question is actually to VS Code embedded markdown editor. This extension simply associates RMD with MD editor for convenience - so one can execute R chunks in console. Extension does not provide separate RMD editor like in big VS. So any extensions to MD syntax may break regular stock MD editor. All it does is really this
const files = workspace.getConfiguration('files');
const associations = files.get<{ ext: string; editor: string }>('associations');
associations['*.rmd'] = 'markdown';
await files.update('associations', associations, ConfigurationTarget.Global);
Theoretically it is possible to make full blown RMD editor but that would quite a bit of work.
Only tested in a remote WSL2 window. Compare the highlighted area in the two images.
I would not mind using only inline math, but in my case pandoc-crossref requires non-inline math for equation referencing.