commit daee3740fae28764ffe9507a64f89c1f9998c3a8
parent f8827ac29f7520d88c5090b6e1221f1ecb185c9c
Author: Michael Skec
Date: Wed, 22 Nov 2023 17:44:42 +1100
implement strikeout text macros
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/broff.c b/broff.c
@@ -360,9 +360,14 @@ main(int argc, char *argv[])
// .B bold font
// .I italic font
// .F fixed font
+ // .ST/DL strikethrough/delete font extensions
+ // .IN ins extensions
if (check_font(".B", "b", true)) continue;
if (check_font(".I", "i", true)) continue;
if (check_font(".F", "code", false)) continue;
+ if (check_font(".ST", "s", true)) continue;
+ if (check_font(".DL", "del", true)) continue;
+ if (check_font(".IN", "ins", true)) continue;
// .H link check
if (check_link()) continue;