moinformat/tree.py | raw changeset files shortlog |
1.1 --- a/moinformat/tree.py Fri Jul 13 22:58:45 2018 +0200 1.2 +++ b/moinformat/tree.py Fri Jul 13 23:59:22 2018 +0200 1.3 @@ -447,6 +447,15 @@ 1.4 self._to_string(out) 1.5 out.end_smaller() 1.6 1.7 +class Strikethrough(Inline): 1.8 + 1.9 + "Crossed-out text." 1.10 + 1.11 + def to_string(self, out): 1.12 + out.start_strikethrough() 1.13 + self._to_string(out) 1.14 + out.end_strikethrough() 1.15 + 1.16 class Subscript(Inline): 1.17 1.18 "Subscripted text."