We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ce5aa9 + 9ca8b1f commit 56ab5cdCopy full SHA for 56ab5cd
js/crsearch/kunai-config.js
@@ -1,5 +1,5 @@
1
import IType from './index-type'
2
-import { Marked } from 'marked'
+import { marked } from 'marked'
3
4
const MarkedOpts = {
5
gfm: true,
@@ -132,7 +132,7 @@ class Config {
132
static Prop = Prop
133
134
static parseMD(md_raw, proc) {
135
- const lexer = new Marked.Lexer(MarkedOpts)
+ const lexer = new marked.Lexer(MarkedOpts)
136
137
return proc.process(lexer.lex(md_raw).map(e =>
138
new Map(Object.entries(e))
0 commit comments