aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBenjamin Tan <demoneaux@gmail.com>2018-02-08 20:54:21 +0800
committerBenjamin Tan <demoneaux@gmail.com>2018-02-08 20:54:21 +0800
commitb2d532ea28eaaf0b7b2cf225c713c8a8d3f4a3bf (patch)
treef736afd40fe27d13652f3ee618de4b3f9212d0be /README.md
parent7cd2c9138d2a28f4395799bcfd3e810dfee511ea (diff)
downloadperl-software-in-gnu-guix-b2d532ea28eaaf0b7b2cf225c713c8a8d3f4a3bf.tar
perl-software-in-gnu-guix-b2d532ea28eaaf0b7b2cf225c713c8a8d3f4a3bf.tar.gz
Allow users to customise MathJax options.
Ref. #1856, #2006, #2045. This is a more open approach to allow customisation of all MathJax options instead of select options only.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index c0d019a..d935a82 100644
--- a/README.md
+++ b/README.md
@@ -1203,6 +1203,8 @@ Reveal.initialize({
math: {
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
+ // pass other options into `MathJax.Hub.Config()`
+ TeX: { Macros: macros }
},
dependencies: [