隐藏mathjax错误警告
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
padding: 2vh 10vw;
|
||||
font-size: 15px;
|
||||
}
|
||||
mjx-merror { display: none !important; }
|
||||
</style>
|
||||
<script>
|
||||
MathJax = {
|
||||
@@ -17,14 +18,12 @@
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||
displayMath: [['$$', '$$'], ['\\[', '\\]']],
|
||||
processEscapes: true,
|
||||
formatError: (error) => {
|
||||
}, // 空函数,不显示任何错误
|
||||
packages: {'[+]': ['ams']}, // 启用AMS宏包
|
||||
autoload: {color: [], colorv2: ['color']} // 颜色支持
|
||||
},
|
||||
options: {
|
||||
renderActions: {
|
||||
addMenu: [0, '', '']
|
||||
addMenu: [0, '', ''],
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user