Skip to content

Commit

Permalink
Merge pull request #76 from take-cheeze/fixname
Browse files Browse the repository at this point in the history
Fix marked names
  • Loading branch information
faithandbrave authored Jan 12, 2025
2 parents 5ce5aa9 + 9ca8b1f commit 56ab5cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/crsearch/kunai-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import IType from './index-type'
import { Marked } from 'marked'
import { marked } from 'marked'

const MarkedOpts = {
gfm: true,
Expand Down Expand Up @@ -132,7 +132,7 @@ class Config {
static Prop = Prop

static parseMD(md_raw, proc) {
const lexer = new Marked.Lexer(MarkedOpts)
const lexer = new marked.Lexer(MarkedOpts)

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

0 comments on commit 56ab5cd

Please sign in to comment.