mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
* Fix formula automatic numbering is invalid * resetting automatic equation numbering in preview
This commit is contained in:
parent
fa1d63b5a2
commit
8f62f9902d
@ -32,7 +32,8 @@
|
|||||||
<script>
|
<script>
|
||||||
MathJax = {
|
MathJax = {
|
||||||
tex: {
|
tex: {
|
||||||
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||||
|
tags: 'ams'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -71,6 +71,7 @@ var previewMathJax = function(identifier, id, timeStamp, text, isHtml) {
|
|||||||
if (text.indexOf('$$') !== -1) {
|
if (text.indexOf('$$') !== -1) {
|
||||||
isBlock = true;
|
isBlock = true;
|
||||||
}
|
}
|
||||||
|
MathJax.texReset();
|
||||||
MathJax
|
MathJax
|
||||||
.typesetPromise([p])
|
.typesetPromise([p])
|
||||||
.then(function () {
|
.then(function () {
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
<script>
|
<script>
|
||||||
MathJax = {
|
MathJax = {
|
||||||
tex: {
|
tex: {
|
||||||
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||||
|
tags: 'ams'
|
||||||
},
|
},
|
||||||
chtml: {
|
chtml: {
|
||||||
// http://docs.mathjax.org/en/latest/options/output/index.html#options-common-to-all-output-processors
|
// http://docs.mathjax.org/en/latest/options/output/index.html#options-common-to-all-output-processors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user