summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--md_tw.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/md_tw.py b/md_tw.py
index cee1c0e..5b6ac93 100644
--- 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