Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 56ab5cd

Browse files
authoredJan 12, 2025··
Merge pull request #76 from take-cheeze/fixname
Fix marked names
2 parents 5ce5aa9 + 9ca8b1f commit 56ab5cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎js/crsearch/kunai-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import IType from './index-type'
2-
import { Marked } from 'marked'
2+
import { marked } from 'marked'
33

44
const MarkedOpts = {
55
gfm: true,
@@ -132,7 +132,7 @@ class Config {
132132
static Prop = Prop
133133

134134
static parseMD(md_raw, proc) {
135-
const lexer = new Marked.Lexer(MarkedOpts)
135+
const lexer = new marked.Lexer(MarkedOpts)
136136

137137
return proc.process(lexer.lex(md_raw).map(e =>
138138
new Map(Object.entries(e))

0 commit comments

Comments
 (0)
Please sign in to comment.