Skip to content

Commit

Permalink
Enable support for tables
Browse files Browse the repository at this point in the history
  • Loading branch information
MS-Jahan authored Jun 10, 2024
1 parent e258cbd commit 5f96434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown_pdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f96434

Please sign in to comment.