diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-25 15:15:39 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-25 15:15:39 +0000 |
commit | 7824e8fbae1849f328af21b17ab107173495c9b4 (patch) | |
tree | f1d35d73b316b6dea3b26d121ffc182c02cb15f4 | |
parent | b31a83ea52148dfbdbe7b5a4b5b22b0049b1f49d (diff) |
md_tw.py: Add TWMarkdown.output_hrule.
* md_tw.py (TWMarkdown)[output_hrule]: New method.
-rw-r--r-- | md_tw.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 [...]') |