summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--md_tw.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/md_tw.py b/md_tw.py
index 3bad4ca..41974c3 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -279,6 +279,13 @@ class TWRenderer(mistune.Renderer):
lambda line: True)
return out
+
+ def header(self, text, level, raw=None):
+ out = '{}'.format(text)
+
+ return out
+
+
def paragraph(self, text):
out = self.tw_fill(text)
out = '{}\n{}\n'.format(out, self.tw_get('initial_indent').strip())