Browse Source

note about backticks to avoid LaTeX <> Markdown syntax conflicts #1359

Hakim El Hattab 5 years ago
parent
commit
0b3e7839eb
1 changed files with 6 additions and 0 deletions
  1. 6 0
      README.md

+ 6 - 0
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