aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown_extensions/tables.py')
-rw-r--r--markdown_extensions/tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown_extensions/tables.py b/markdown_extensions/tables.py
index 5339ae1..0e5cd96 100644
--- a/markdown_extensions/tables.py
+++ b/markdown_extensions/tables.py
@@ -62,7 +62,7 @@ class TableTreeprocessor(markdown.Treeprocessor):
class TableExtension(markdown.Extension):
def extendMarkdown(self, md, md_globals):
md.inlinePatterns.add('table', TablePattern(md), "<backtick")
- md.treeprocessors['table'] = TableTreeprocessor()
+ md.treeprocessors.add('table', TableTreeprocessor(), "<prettify")
def makeExtension(configs):