mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 21:03:47 +02:00
fix(mdx): fix for html multi-line comments (#9100)
This commit is contained in:
parent
cc6d9696f0
commit
ae2a09359a
4 changed files with 12 additions and 14 deletions
|
@ -76,7 +76,8 @@ async function createProcessorFactory() {
|
|||
const {createProcessor: createMdxProcessor} = await import('@mdx-js/mdx');
|
||||
const {default: rehypeRaw} = await import('rehype-raw');
|
||||
const {default: gfm} = await import('remark-gfm');
|
||||
const {default: comment} = await import('remark-comment');
|
||||
// TODO using fork until PR merged: https://github.com/leebyron/remark-comment/pull/3
|
||||
const {default: comment} = await import('@slorber/remark-comment');
|
||||
const {default: directive} = await import('remark-directive');
|
||||
|
||||
// /!\ this method is synchronous on purpose
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue