Skip to content

Commit

Permalink
Add inline mode support for MathJax
Browse files Browse the repository at this point in the history
  • Loading branch information
ongchi committed Jul 21, 2024
1 parent 89fd959 commit a3172bc
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ["$", "$"] ],
displayMath: [ ["$$", "$$"] ],
processEscapes: true
}
});

// Update the preview area on input. Lifted directly from mathjax website examples
class Preview {

Expand Down

0 comments on commit a3172bc

Please sign in to comment.