diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-26 00:22:41 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-26 00:22:41 +0000 |
commit | 34093b77787cffda9e84b16d133ee7fc5fcb777b (patch) | |
tree | 8d72213e26f0fa158acc628511302816765df36f | |
parent | 184911c446aee4183b79fc5d7c47538b35cb89f5 (diff) |
md_tw.py: Add TWMarkdown.output_def_link
* md_tw.py (TWMarkdown)[output_def_link]: New method.
-rw-r--r-- | md_tw.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 [...]') |