Selaa lähdekoodia

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

Hakim El Hattab 6 vuotta sitten
vanhempi
commit
0b3e7839eb
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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