diff options
1 files changed, 9 insertions, 5 deletions
| -rw-r--r-- | single.awk | 14 |
@@ -6,14 +6,14 @@ # identation with which the list beginning (e.g. "* " or "5. ") was written. # The benefit is that all Markdown is parsed as normal inside an item. # -# [ ] Non-standard features -# [ ] Strikethrough ~~...~~ -# [ ] Superscript ^...^ -# [ ] Subscript ~...~ +# [.] Non-standard features +# [x] Strikethrough ~~...~~ +# [x] Superscript ^...^ +# [x] Subscript ~...~ # [ ] Footnote [^...] (with user customizations) # [ ] Task list - [ ] (readonly) # [ ] Definition lists -# [x] Single line +# [ ] Single line # [ ] Multi-line # [ ] Fenced code blocks ```lang ``` # [ ] Tables @@ -340,6 +340,10 @@ function gsurround(brace, left, right, blen) { gsurround("\\*" , "<em>" , "</em>", 1) gsurround("``" , "<code>" , "</code>") gsurround("`" , "<code>" , "</code>") + + gsurround("~~" , "<s>" , "</s>") + gsurround("~" , "<sub>" , "</sub>") + gsurround("\\^", "<sup>" , "</sup>", 1) } # Links |
