diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-18 22:23:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-18 22:40:43 +0900 |
| commit | 3f82b71a657d8b8218ed468acf0552f29cfd1dd0 (patch) | |
| tree | 5f2f69e8659c62abeb373edec1d2743fa65dc2b4 /nuldoc-src/renderers/html.ts | |
| parent | 2ee549f5f3b1a05f2a769a4e0daa5507997a3159 (diff) | |
| download | blog.nsfisis.dev-3f82b71a657d8b8218ed468acf0552f29cfd1dd0.tar.gz blog.nsfisis.dev-3f82b71a657d8b8218ed468acf0552f29cfd1dd0.tar.zst blog.nsfisis.dev-3f82b71a657d8b8218ed468acf0552f29cfd1dd0.zip | |
feat(nuldoc): first implementation of rendering slide
Diffstat (limited to 'nuldoc-src/renderers/html.ts')
| -rw-r--r-- | nuldoc-src/renderers/html.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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": |
