shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.48k stars 173 forks source link

How to reset equation autonumbering #234

Open lalloni opened 5 years ago

lalloni commented 5 years ago

On MathJAX docs says you have to use this configuration for it to reset equation numbering when using autoNumber="AMS":

MathJax.Hub.Queue(
  ["resetEquationNumbers", MathJax.InputJax.TeX],
  ["PreProcess", MathJax.Hub],
  ["Reprocess", MathJax.Hub]
);

But I've found no way of specifying that in current mathjax_config.js module export syntax.

How can I add that settings to MathJAX configuration?

lalloni commented 5 years ago

Adding some context, I was trying to add this configuration for solving #67 which is biting me right now.