We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
kiaking
brc-dd
posva
Learn more about funding links in repositories.
Report abuse
1 parent bc96b2b commit 1a9c32dCopy full SHA for 1a9c32d
src/node/markdown/plugins/containers.ts
@@ -43,7 +43,9 @@ function createContainer(
43
const info = token.info.trim().slice(klass.length).trim()
44
const attrs = md.renderer.renderAttrs(token)
45
if (token.nesting === 1) {
46
- const title = md.renderInline(info || defaultTitle, { ...env })
+ const title = md.renderInline(info || defaultTitle, {
47
+ references: env.references
48
+ })
49
if (klass === 'details')
50
return `<details class="${klass} custom-block"${attrs}><summary>${title}</summary>\n`
51
return `<div class="${klass} custom-block"${attrs}><p class="custom-block-title">${title}</p>\n`
0 commit comments