mirror of
https://github.com/LukeHagar/prettier-plugin-openapi.git
synced 2025-12-07 12:47:48 +00:00
Update src/prettier-markdown/parser-markdown.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -38,9 +38,10 @@ function createParse({ isMDX }) {
|
|||||||
.use(liquid)
|
.use(liquid)
|
||||||
.use(isMDX ? htmlToJsx : noop)
|
.use(isMDX ? htmlToJsx : noop)
|
||||||
.use(wikiLink);
|
.use(wikiLink);
|
||||||
return processor.run(processor.parse(text));
|
return processor.runSync(processor.parse(text));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function noop() {}
|
function noop() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user