mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
remove unused parameters
This commit is contained in:
parent
42b5239d55
commit
07537a14ae
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user