Skip to content

Commit

Permalink
Add support for latex equations
Browse files Browse the repository at this point in the history
  • Loading branch information
shagunsodhani committed Jul 22, 2019
1 parent 4404c3e commit 665cc9d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions site/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<!DOCTYPE html>
<html lang="en-us">

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
processEscapes: true
}
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>

{% include head.html %}

Expand Down

0 comments on commit 665cc9d

Please sign in to comment.