markdown-textwrap

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

commit 7824e8fbae1849f328af21b17ab107173495c9b4
parent b31a83ea52148dfbdbe7b5a4b5b22b0049b1f49d
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 25 Feb 2018 15:15:39 +0000

md_tw.py: Add TWMarkdown.output_hrule.

* md_tw.py (TWMarkdown)[output_hrule]: New method.

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

diff --git a/md_tw.py b/md_tw.py @@ -457,6 +457,9 @@ class TWMarkdown(mistune.Markdown): return rendered_li + def output_hrule(self): + return self.renderer.hrule(self.token['text']) + def main(): print('USAGE: md_tw 72 file.md file2.md [...]')