feat: html rendering

This commit is contained in:
2026-03-12 14:52:29 +01:00
parent 60f763df19
commit eb8f4574bf
10 changed files with 191 additions and 93 deletions

12
src/awk/messageparts.awk Normal file
View File

@@ -0,0 +1,12 @@
BEGIN {
RS = "\x0c"
FS = "\n"
}
/^(part|attachment)}/ {
level--
}
/^(part|attachment){/ {
printf "%"(2*level)"s%s\n", "", substr($1, index($1, "ID"))
level++
}