diff --git a/markdown_pdf/__init__.py b/markdown_pdf/__init__.py index cc1830c..f0a97e9 100644 --- a/markdown_pdf/__init__.py +++ b/markdown_pdf/__init__.py @@ -38,7 +38,7 @@ def __init__(self, toc_level=6, mode='commonmark'): # zero, commonmark, js-default, gfm-like # https://markdown-it-py.readthedocs.io/en/latest/using.html#quick-start - self.m_d = (MarkdownIt(mode)) + self.m_d = (MarkdownIt(mode).enable('table')) # Enable support for tables self.out_file = io.BytesIO() self.writer = fitz.DocumentWriter(self.out_file)