From 90b77f288c5f62b5119861976517910e2230ec00 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 21 Jul 2024 14:58:12 +0300 Subject: (simple) Implemented span code and some of the simpler non-standard features --- single.awk | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'single.awk') diff --git a/single.awk b/single.awk index 2908c32..1ceb577 100644 --- a/single.awk +++ b/single.awk @@ -14,16 +14,16 @@ # [x] Inline # [ ] Reference # [x] Emphasis -# [ ] Code +# [x] Code # [ ] Images # [ ] Other # [ ] Autolinks # [ ] Escapes # # [ ] Non-standard features -# [ ] Strikethrough ~~...~~ -# [ ] Superscript ^^...^^ -# [ ] Subscript ~...~ +# [x] Strikethrough ~~...~~ +# [x] Superscript ^...^ +# [x] Subscript ~...~ # [ ] Footnote [^...] (with user customizations) # [ ] Task list - [ ] # [ ] Definition lists @@ -187,6 +187,11 @@ function surround(brace, opening, closing) { surround("_", "", "") surround("\\*\\*", "", "") surround("\\*", "", "") + surround("~~", "", "") + surround("~", "", "") + surround("\\^", "", "") + surround("``", "", "") + surround("`", "", "") } { print } -- cgit v1.3.1-23-gd82d