Skip to content

Commit

Permalink
fix math delimiters
Browse files Browse the repository at this point in the history
It turns out that pandoc will only write the bracket notation for math,
so users need to be aware that they should not try to escape brackets.
  • Loading branch information
zkamvar committed Jan 27, 2022
1 parent 78bf32e commit b7bbf65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/pkgdown/templates/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
},
tex2jax: {
inlineMath: [ ['$','$'] ],
displayMath: [ ['$$','$$'] ],
inlineMath: [ ['$','$'], ['\\(', '\\)']],
displayMath: [ ['$$','$$'], ['\\[', '\\]'] ],
processEscapes: true
}
});
Expand Down

0 comments on commit b7bbf65

Please sign in to comment.