markdown-textwrap

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

commit 34093b77787cffda9e84b16d133ee7fc5fcb777b
parent 184911c446aee4183b79fc5d7c47538b35cb89f5
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon, 26 Feb 2018 00:22:41 +0000

md_tw.py: Add TWMarkdown.output_def_link

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

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

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