markdown-textwrap

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

commit 2bdf2a10665fd232677c0cea5fce3b1d3613cafd
parent cdd32e767b648002aa0ad3f9a563c971d46b9b8f
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon,  5 Mar 2018 02:25:22 +0000

md_tw.py: Fix TWInlineLexer docstring.

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

diff --git a/md_tw.py b/md_tw.py @@ -210,7 +210,7 @@ class TWBlockLexer(mistune.BlockLexer): class TWInlineLexer(mistune.InlineLexer): - """Text Wrap Inline level lexer for inline gramars.""" + """Text Wrap Inline level lexer for inline grammars.""" def __init__(self, renderer, rules=None, **kwargs): super(TWInlineLexer, self).__init__(renderer, rules, **kwargs) @@ -256,7 +256,6 @@ class TWRenderer(mistune.Renderer): # Set option setattr(self.tw, opt, val) - def tw_fill(self, text, **kwargs): """Wrap text. """ @@ -279,7 +278,6 @@ class TWRenderer(mistune.Renderer): lambda line: True) return out - def header(self, text, level, raw=None): out = '{}'.format(text) return out