mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +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>
|
||||
MathJax = {
|
||||
tex: {
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||
tags: 'ams'
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
@ -71,6 +71,7 @@ var previewMathJax = function(identifier, id, timeStamp, text, isHtml) {
|
||||
if (text.indexOf('$$') !== -1) {
|
||||
isBlock = true;
|
||||
}
|
||||
MathJax.texReset();
|
||||
MathJax
|
||||
.typesetPromise([p])
|
||||
.then(function () {
|
||||
|
@ -13,7 +13,8 @@
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||
tags: 'ams'
|
||||
},
|
||||
chtml: {
|
||||
// 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