diff options
1 files changed, 9 insertions, 4 deletions
| -rw-r--r-- | single.awk | 13 |
@@ -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("_", "<em>", "</em>") surround("\\*\\*", "<strong>", "</strong>") surround("\\*", "<em>", "</em>") + surround("~~", "<s>", "</s>") + surround("~", "<sub>", "</sub>") + surround("\\^", "<sup>", "</sup>") + surround("``", "<code>", "</code>") + surround("`", "<code>", "</code>") } { print } |
