summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--md_tw.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/md_tw.py b/md_tw.py
index ca12027..ba85ea0 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -304,6 +304,10 @@ class TWRenderer(mistune.Renderer):
out = '{}'.format(text)
return out
+ def footnote_item(self, key, text):
+ out = '[^{}]: {}\n'.format(key, text)
+ return out
+
class TWMarkdown(mistune.Markdown):
"""Text Wrap Markdown parser.