docgen-tool 3.2.9 → 3.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -652,7 +652,8 @@ function DocGen(process) {
652
652
  //support for MathJax (only supported via CDN due to very large size)
653
653
  //MathJax configuration is the same as used by math.stackexchange.com
654
654
  //Note - wkhtmlpdf //cdn urls - see https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1634
655
- $('head').append('<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full"></script>');
655
+ //Note - later than version 2 doesn't work with wkhtmltodpf
656
+ $('head').append("<script type=\"text/javascript\" id=\"MathJax-script\" async\n src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML\">\n </script>");
656
657
  }
657
658
  };
658
659
  /*
@@ -1,4 +1,4 @@
1
1
  This is the empty template page for DocGen.
2
2
 
3
- To get started, edit **index.txt** and run DocGen. For more help see the
3
+ To get started, edit **index.md** and run DocGen. For more help see the
4
4
  [user guide](http://mtmacdonald.github.io/docgen/).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docgen-tool",
3
- "version": "3.2.9",
3
+ "version": "3.2.12",
4
4
  "description": "A tool for creating HTML and PDF documentation",
5
5
  "main": "dist/docgen.js",
6
6
  "bin": {