Closed powerman closed 2 weeks ago
mdformat-myst
appears to support dollar math. If you have a chance, it might be worth trying: https://github.com/executablebooks/mdformat-myst (See: https://myst-parser.readthedocs.io/en/latest/syntax/math.html#dollar-delimited-math)
If mdformat-myst
works, we can either incorporate a small portion of the logic into mdformat-obsidian
or making mdformat-myst
an optional extra when users need to render math
Well, myst
works. It conflicts with footnote
plugin and a bit differently format %%
block commens. Still, using it for this reason (obsidian math support) feels like a real overkill.
Current version breaks example from https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax#Math:
Was:
Now:
![изображение](https://github.com/user-attachments/assets/1c7dcc73-1237-44e7-b89d-c4ee60034e80)