diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-25 15:14:52 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-25 15:14:52 +0000 |
commit | b31a83ea52148dfbdbe7b5a4b5b22b0049b1f49d (patch) | |
tree | 22ceb5621738e825c005da7c275dbd7e1313e56f /md_tw.py | |
parent | e7a890fce73b9e0b286ef24a4b4bf063ed418209 (diff) |
md_tw.py: TWRenderer.hrule.
* md_tw.py (TWRenderer)[hrule]: New method.
Diffstat (limited to 'md_tw.py')
-rw-r--r-- | md_tw.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -285,6 +285,10 @@ class TWRenderer(mistune.Renderer): return out + def hrule(self, hr): + out = '{}'.format(hr) + + return out def paragraph(self, text): out = self.tw_fill(text) |