From 3f82b71a657d8b8218ed468acf0552f29cfd1dd0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 18 Mar 2023 22:23:37 +0900 Subject: feat(nuldoc): first implementation of rendering slide --- nuldoc-src/renderers/html.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nuldoc-src/renderers/html.ts') diff --git a/nuldoc-src/renderers/html.ts b/nuldoc-src/renderers/html.ts index 94d134b..6cf632c 100644 --- a/nuldoc-src/renderers/html.ts +++ b/nuldoc-src/renderers/html.ts @@ -29,6 +29,10 @@ function getDtd(name: string): Dtd { return { type: "block" }; case "br": return { type: "block", auto_closing: true }; + case "button": + return { type: "block" }; + case "canvas": + return { type: "block" }; case "code": return { type: "inline" }; case "div": @@ -73,6 +77,8 @@ function getDtd(name: string): Dtd { return { type: "block" }; case "pre": return { type: "block" }; + case "script": + return { type: "block" }; case "section": return { type: "block" }; case "span": -- cgit v1.2.3-70-g09d2