Skip to content

Commit

Permalink
Added support for markdown tables
Browse files Browse the repository at this point in the history
  • Loading branch information
mapio committed Nov 27, 2020
1 parent aacf6fc commit cc99106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</html>
"""

VERSION = '1.2.0'
VERSION = '1.3.0'

input_filename = sys.argv[1]

Expand All @@ -44,5 +44,5 @@
title = sys.argv[2]
output_filename = sys.argv[3]

body = markdown.markdown(Path(input_filename).read_text(), extensions = ['pymdownx.b64', ArithmatexExtension(generic = True)])
body = markdown.markdown(Path(input_filename).read_text(), extensions = ['markdown.extensions.tables', 'pymdownx.b64', ArithmatexExtension(generic = True)])
Path(output_filename).write_text(DOCUMENT_TEMPLATE.format(title = title, github_markdown_css = GITHUB_MARKDOWN_CSS, body = body))

0 comments on commit cc99106

Please sign in to comment.