Add strikethrough type

This commit is contained in:
2026-07-14 17:45:50 +02:00
parent dc49129999
commit 7737c2d763
3 changed files with 11 additions and 0 deletions
+8
View File
@@ -69,6 +69,14 @@ print_html :: proc(token: ^Token) {
}
fmt.print("</em>")
case TokenType.Strikethrough:
fmt.print("<strike>")
for child in token.children {
print_html(child)
}
fmt.print("</strike>")
case TokenType.BreakLine:
fmt.print("<br>\n")