enable $ inline expressions so the example markdown doc works, $ can be escaped using \$ so shouldn't be much of an issue

This commit is contained in:
simonzack
2015-01-28 19:06:24 +11:00
parent f9a9b90ed7
commit 3be2e76ec0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
<script type="text/javascript"> <script type="text/javascript">
window.MathJax = { window.MathJax = {
tex2jax: { tex2jax: {
inlineMath: [ ['\\(','\\)'] ], inlineMath: [ ['$','$'], ['\\(','\\)'] ],
displayMath: [ ['$$','$$'], ['\\[','\\]'] ], displayMath: [ ['$$','$$'], ['\\[','\\]'] ],
processEscapes: true processEscapes: true
}, },
+1 -1
View File
@@ -45,7 +45,7 @@ var require = {
<script type="text/javascript"> <script type="text/javascript">
window.MathJax = { window.MathJax = {
tex2jax: { tex2jax: {
inlineMath: [ ['\\(','\\)'] ], inlineMath: [ ['$','$'], ['\\(','\\)'] ],
displayMath: [ ['$$','$$'], ['\\[','\\]'] ], displayMath: [ ['$$','$$'], ['\\[','\\]'] ],
processEscapes: true processEscapes: true
}, },