mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: katex: ignore warnings
This commit is contained in:
1 parent
1d48df3e80
commit
306a15b870
2 files changed
+2
-2
No files matched your search
@@ -101,7 +101,7 @@ function block(state, start, end, silent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = function plugin(md) {
|
module.exports = function plugin(md) {
|
||||||
const options = { throwOnError: false, strict: false };
|
const options = { throwOnError: false, strict: 'ignore' };
|
||||||
const katexInline = function (latex) {
|
const katexInline = function (latex) {
|
||||||
options.displayMode = false;
|
options.displayMode = false;
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.25.2",
|
"version": "4.25.3",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
Reference in new issue
Block a user