add mathjax
This commit is contained in:
15
assets/js/mathjax.js
Normal file
15
assets/js/mathjax.js
Normal file
@ -0,0 +1,15 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
MathJax = {
|
||||
tex: {
|
||||
inlineMath: [
|
||||
['$', '$'],
|
||||
['\\(', '\\)']
|
||||
],
|
||||
displayMath: [
|
||||
['$$', '$$'],
|
||||
['\\[', '\\]']
|
||||
],
|
||||
tags: 'ams'
|
||||
}
|
||||
};
|
||||
});
|
Reference in New Issue
Block a user