chore: implement escaping character node

This commit is contained in:
Steven
2023-12-16 11:47:29 +08:00
parent 1237643028
commit e43a445c34
10 changed files with 132 additions and 0 deletions

View File

@@ -101,3 +101,13 @@ type Strikethrough struct {
func (*Strikethrough) Type() NodeType {
return StrikethroughNode
}
type EscapingCharacter struct {
BaseInline
Symbol string
}
func (*EscapingCharacter) Type() NodeType {
return EscapingCharacterNode
}