1
0
mirror of synced 2025-12-20 10:28:40 -05:00

Fix Remark deprecation warning (#20439)

This commit is contained in:
James M. Greene
2021-07-21 09:46:24 -05:00
committed by GitHub
parent 86a5d08902
commit 583f5a965f

View File

@@ -21,7 +21,7 @@ export default function createProcessor(context) {
.use(markdown)
.use(remarkCodeExtra, { transform: codeHeader })
.use(emoji)
.use(remark2rehype, { allowDangerousHTML: true })
.use(remark2rehype, { allowDangerousHtml: true })
.use(slug)
.use(useEnglishHeadings, context)
.use(autolinkHeadings, { behavior: 'wrap' })