From 0b3e7839ebf4ed8b6c180aca0abafa28c67aee6d Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 12 Dec 2018 09:59:45 +0100 Subject: [PATCH] note about backticks to avoid LaTeX <> Markdown syntax conflicts #1359 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 940e746..a301d5f 100644 --- a/README.md +++ b/README.md @@ -1301,6 +1301,12 @@ Reveal.initialize({ Read MathJax's documentation if you need [HTTPS delivery](http://docs.mathjax.org/en/latest/start.html#secure-access-to-the-cdn) or serving of [specific versions](http://docs.mathjax.org/en/latest/configuration.html#loading-mathjax-from-the-cdn) for stability. +#### MathJax in Markdown +If you want to include math inside of a presentation written in Markdown you need to wrap the forumla in backticks. This prevents syntax conflicts between LaTeX and Markdown. For example: + +``` +`$$ J(\theta_0,\theta_1) = \sum_{i=0} $$` +``` ## License