change it
This commit is contained in:
13
_book/gitbook/plugins/gitbook-plugin-mathjax/plugin.js
Normal file
13
_book/gitbook/plugins/gitbook-plugin-mathjax/plugin.js
Normal file
@ -0,0 +1,13 @@
|
||||
require(["gitbook"], function(gitbook) {
|
||||
MathJax.Hub.Config({
|
||||
tex2jax: {
|
||||
inlineMath: [['$','$'], ['\\(','\\)']],
|
||||
processEscapes: true
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
gitbook.events.bind("page.change", function() {
|
||||
MathJax.Hub.Typeset()
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user