From 34093b77787cffda9e84b16d133ee7fc5fcb777b Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 26 Feb 2018 00:22:41 +0000 Subject: md_tw.py: Add TWMarkdown.output_def_link * md_tw.py (TWMarkdown)[output_def_link]: New method. --- md_tw.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/md_tw.py b/md_tw.py index 9a13ac4..cee1c0e 100644 --- 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 [...]') -- cgit v1.2.3