markdown-textwrap

text wrap markdown documents
git clone git://git.ricketyspace.net/markdown-textwrap.git
Log | Files | Refs

commit b31a83ea52148dfbdbe7b5a4b5b22b0049b1f49d
parent e7a890fce73b9e0b286ef24a4b4bf063ed418209
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 25 Feb 2018 15:14:52 +0000

md_tw.py: TWRenderer.hrule.

* md_tw.py (TWRenderer)[hrule]: New method.

Diffstat:
md_tw.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/md_tw.py b/md_tw.py @@ -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)