feat: implement indent for list nodes

This commit is contained in:
Steven
2024-01-14 22:19:03 +08:00
parent d44e74bd1e
commit 98762be1e5
14 changed files with 310 additions and 167 deletions

View File

@@ -103,18 +103,21 @@ message BlockquoteNode {
message OrderedListNode {
string number = 1;
repeated Node children = 2;
int32 indent = 2;
repeated Node children = 3;
}
message UnorderedListNode {
string symbol = 1;
repeated Node children = 2;
int32 indent = 2;
repeated Node children = 3;
}
message TaskListNode {
string symbol = 1;
bool complete = 2;
repeated Node children = 3;
int32 indent = 2;
bool complete = 3;
repeated Node children = 4;
}
message MathBlockNode {