From 60461cf2dbe6b42ca2aeba9c828a6405f9ab5a88 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Fri, 7 Jun 2024 08:27:11 +0200 Subject: [PATCH] Support level 6 headings in preview --- plugs/markdown/markdown_render.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugs/markdown/markdown_render.ts b/plugs/markdown/markdown_render.ts index c579e605..367f2f7f 100644 --- a/plugs/markdown/markdown_render.ts +++ b/plugs/markdown/markdown_render.ts @@ -118,6 +118,11 @@ function render( name: "h5", body: cleanTags(mapRender(t.children!)), }; + case "ATXHeading6": + return { + name: "h6", + body: cleanTags(mapRender(t.children!)), + }; case "Paragraph": return { name: "span",