Support more math tags.
This commit is contained in:
parent
0376f98512
commit
f7245000d0
1 changed files with 4 additions and 2 deletions
|
|
@ -11,8 +11,10 @@
|
|||
// eslint-disable-next-line no-undef
|
||||
renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false}
|
||||
{left: '\\[', right: '\\]', display: true}, // block
|
||||
{left: '$$', right: '$$', display: true}, // block
|
||||
{left: '\\(', right: '\\)', display: false}, // inline
|
||||
{left: '$', right: '$', display: false} // inline
|
||||
],
|
||||
throwOnError: false
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue