diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-25 19:37:35 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-25 19:37:35 +0200 |
| commit | 0a0d579f34e12639c89d890d25be038c5ae81e00 (patch) | |
| tree | f96df251a917c8f2c79a1b950b715d924a3f0b9b /src/parser.zig | |
| parent | 7ca5ad5927386703219072723eb41c511e1c5359 (diff) | |
feat(): supports list ordored
Diffstat (limited to 'src/parser.zig')
| -rw-r--r-- | src/parser.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.zig b/src/parser.zig index cac395e..752267e 100644 --- a/src/parser.zig +++ b/src/parser.zig @@ -6,6 +6,7 @@ const Element = @import("eval/Element.zig"); const paragraph = @import("paragraph.zig"); const title = @import("title.zig"); const link = @import("link.zig"); +const list = @import("list.zig"); pub const Error = error{ FeatureNotSupported, @@ -54,6 +55,7 @@ fn gen(parent: Allocator, l: *Lexer) Error!Document { .literal, .bold, .italic, .code, .link => try paragraph.parse(alloc, l), // other blocks .title => try title.parse(alloc, l), + .list_ordored => try list.parseOrdored(alloc, l), .weak_delimiter, .strong_delimiter => { l.consume(); continue :base; |
