vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit 16998af36d330e46be246b6890f121f1294f5a70
parent 839a5bf608101c8660cbc64dc39ac35bb5bad6d4
Author: Cesar Tessarin <cesar@tessarin.com.br>
Date:   Fri, 25 Oct 2019 16:10:37 -0200

Update MathJax CDN loading instructions

The instructions to loading MathJax from a CDN were outdated and not
working for some users.

This commit updates those links to conform with the instructions from:
https://www.mathjax.org/#gettingstarted

Diffstat:
Mdoc/vimwiki.txt | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt @@ -1412,9 +1412,10 @@ template folder. For instance, a sensible folder structure could be: In this case, <mathjax_folder> would be "../mathjax" (without quotes). 2. Loading MathJax from a CDN-server (needs internet connection). -Add to your HTML template the following line: +Add to your HTML template the following lines: -<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/config/TeX-AMS-MML_HTMLorMML.js"></script> +<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> +<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> ------------------------------------------------------------------------------