44f552cbce
Move `MathJax` configuration to file `assets/js/data/mathjax.js` will help add extensions.
25 lines
637 B
JavaScript
25 lines
637 B
JavaScript
---
|
|
layout: compress
|
|
# WARNING: Don't use '//' to comment out code, use '{% comment %}' and '{% endcomment %}' instead.
|
|
---
|
|
|
|
{%- comment -%}
|
|
See: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options>
|
|
{%- endcomment -%}
|
|
|
|
MathJax = {
|
|
tex: {
|
|
{%- comment -%} start/end delimiter pairs for in-line math {%- endcomment -%}
|
|
inlineMath: [
|
|
['$', '$'],
|
|
['\\(', '\\)']
|
|
],
|
|
{%- comment -%} start/end delimiter pairs for display math {%- endcomment -%}
|
|
displayMath: [
|
|
['$$', '$$'],
|
|
['\\[', '\\]']
|
|
],
|
|
{%- comment -%} equation numbering {%- endcomment -%}
|
|
tags: 'ams'
|
|
}
|
|
};
|