Markdown-Edit
Markdown-Edit copied to clipboard
Local javascripts for MathJax
MDE is touching https://cdn.mathjax.org/ and http://markdownedit.com domains for MathJax.js and mathjax-scripts.js on every start. Would it be possible to put these libraries to distribution as local files?
From https://docs.mathjax.org/en/v2.5-latest/configuration.html it looks like local option is supported.
Last time I checked, it still had to be served from web server (local or otherwise). The script has logic that only downloads the parts it needs to complete the rendering which requires a server.
The bigger problem is the sheer size of it. I downloaded the zip file and after 5 minutes of unzipping I gave up. There are thousands of files in the distribution.
There's talk in the forums about providing a file local version of the library but it's slated for a future release (last I checked).
It's been a while since I looked at this so I'll put it on my to-do list to investigate again.