-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are Markdown Tables supported? #36
Comments
Looking closer, it looks like the best thing to do would be to expose the
Exposing this to the user would allow them to enable whichever extras they need. Like so: def md2pdf(pdf_file_path, md_content=None, md_file_path=None,
css_file_path=None, base_url=None, extras=None):
"""
Converts input markdown to styled HTML and renders it to a PDF file.
Args:
pdf_file_path: output PDF file path.
md_content: input markdown raw string content.
md_file_path: input markdown file path.
css_file_path: input styles path (CSS).
base_url: absolute base path for markdown linked content (as images).
Returns:
None
Raises:
ValidationError: if md_content and md_file_path are empty.
"""
if extras is None:
extras = ["cuddled-lists"]
... |
I can confirm that setting |
Related to #10 |
Great! Can you propose a PR? |
@jmaupetit Looking at the Line 31 in b73deee
But there has not been a released on PyPI in 4 years: https://pypi.org/project/md2pdf/ Could a new release from |
This is now fixed! https://pypi.org/project/md2pdf/0.5/ |
Are Extended syntax tables supported? https://www.markdownguide.org/extended-syntax/#tables
Code
Output
Expecting to see a table here:
Version
Python 3.9.1
The text was updated successfully, but these errors were encountered: