fix: Token type not supported by Markdown parser, closes #8101

This commit is contained in:
Tom Moor
2024-12-11 21:07:15 -05:00
parent c063709f1c
commit 6dfe7d707a
+3
View File
@@ -32,6 +32,9 @@ export default function makeRules({
if (!schema?.nodes.hr) {
markdownIt.disable("hr");
}
if (!schema?.nodes.heading) {
markdownIt.disable("heading");
}
plugins.forEach((plugin) => markdownIt.use(plugin));
return markdownIt;