remove unused parameters

This commit is contained in:
dousha 2023-11-07 23:34:39 +08:00
parent 42b5239d55
commit 07537a14ae

View File

@ -54,7 +54,7 @@ function inlineKatex(options, renderer) {
indexSrc = indexSrc.substring(index + 1).replace(/^\$+/, ''); indexSrc = indexSrc.substring(index + 1).replace(/^\$+/, '');
} }
}, },
tokenizer(src, tokens) { tokenizer(src) {
const match = src.match(inlineRule); const match = src.match(inlineRule);
if (match) { if (match) {
return { return {
@ -73,7 +73,7 @@ function blockKatex(options, renderer) {
return { return {
name: 'blockKatex', name: 'blockKatex',
level: 'block', level: 'block',
tokenizer(src, tokens) { tokenizer(src) {
const match = src.match(blockRule); const match = src.match(blockRule);
if (match) { if (match) {
return { return {