Open itsuhane opened 2 years ago
Follow up: Extended LaTeX solved part of this issue. And its looking for another maintainer. Maybe the two plugins can be merged?
The focus of this plugin is making typing LaTeX easier, as opposed to extending its functionality. Therefore, I think this functionality would belong better in the Extended MathJax plugin that you mentioned.
The command definitions will be available in the current file (and in fact, leaking to the whole obsidian app once this block is rendered, which could be a security issue).
Maybe this can be brought up as an upstream issue in Obsidian?
Motivation
Currently, I define custom latex commands inside the first displayed equation block, for example:
The command definitions will be available in the current file (and in fact, leaking to the whole obsidian app once this block is rendered, which could be a security issue).
Feature Request
It would be helpful to support macro definitions, for example in the page's md preamble:
Or setting them in some global config file so that all the files in the vault will benefit: