* MathJax support

There was no support for displaying math written in Latex. This is now added with the help of MathJax.

MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.

* MathJax support

There was no support for displaying math written in Latex. This is now added with the help of MathJax.

MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.

* Auto stash before merge of "math" and "origin/math"

* Delete unnecessary option

* Actually enable math for demo page

* Have demo page be consistent
This commit is contained in:
Vlad Ionescu
2018-05-01 20:48:49 +02:00
committed by Luiz F. A. de Prá
parent 0aab556131
commit 0f2bd0c0a6
2 changed files with 32 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
+++
date = "2017-01-08"
title = "Theme Demo"
math = "true"
+++
@@ -26,6 +27,12 @@ _This is italic text_
~~Deleted text~~
This is text with inline math $\sum_{n=1}^{\infty} 2^{-n} = 1$ and with math blocks:
$$
\sum_{n=1}^{\infty} 2^{-n} = 1
$$
| Heading | Another heading |
| :----: | :-------------: |
| text | text |