Sfoglia il codice sorgente

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

Hakim El Hattab 6 anni fa
parent
commit
0b3e7839eb
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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