We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb3d37 commit 150f3dfCopy full SHA for 150f3df
src/index.ts
@@ -54,6 +54,7 @@ export class MarkdownItAsync extends MarkdownIt {
54
throw new Error(`Unknown highlight placeholder id: ${id}`)
55
const [promise, _str, lang, _attrs] = this.map.get(id)!
56
const result = await promise || ''
57
+ this.map.delete(id)
58
if (result.startsWith('<pre'))
59
return result
60
else
0 commit comments