mirror of
https://github.com/outline/outline.git
synced 2026-11-29 16:40:27 +03:00
fix: Token type not supported by Markdown parser, closes #8101
This commit is contained in:
1 parent
c063709f1c
commit
6dfe7d707a
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user