From 25d1e3c4d441aed82d4c55374f307e6e63dbff06 Mon Sep 17 00:00:00 2001 From: Raniere Silva <raniere@rgaiacs.com> Date: Sat, 12 Dec 2015 01:50:14 -0200 Subject: [PATCH] Add MathJax --- Makefile | 1 + _includes/javascript.html | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e692590..c411de9 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,7 @@ preview : $(DST_ALL) %.html : %.md _layouts/page.html $(FILTERS) ${PANDOC} -s -t html \ ${PANDOC_FLAGS} \ + --mathjax \ --template=_layouts/page \ --filter=tools/filters/blockquote2div.py \ --filter=tools/filters/id4glossary.py \ diff --git a/_includes/javascript.html b/_includes/javascript.html index 62eb98f..ad961d0 100644 --- a/_includes/javascript.html +++ b/_includes/javascript.html @@ -1,3 +1,4 @@ <!-- Javascript placed at the end of the document so the pages load faster --> <script src="http://software-carpentry.org/v5/js/jquery-1.9.1.min.js"></script> <script src="css/bootstrap/bootstrap-js/bootstrap.js"></script> +<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> -- GitLab