feat: implement nesting lists

This commit is contained in:
Steven
2024-09-21 20:02:47 +08:00
parent 7a4d54bb3c
commit ca213437e9
14 changed files with 685 additions and 455 deletions

View File

@@ -173,7 +173,15 @@ message BlockquoteNode {
}
message ListNode {
repeated Node children = 1;
enum Kind {
KIND_UNSPECIFIED = 0;
ORDERED = 1;
UNORDERED = 2;
DESCRIPTION = 3;
}
Kind kind = 1;
int32 indent = 2;
repeated Node children = 3;
}
message OrderedListItemNode {