Skip to content

v2.1.0

Latest

Choose a tag to compare

@ryul1206 ryul1206 released this 12 Nov 08:07
a2cefe8

Temporarily marked Python 3.14 as unsupported until upstream dependencies add compatibility.

  • Added - Add support for including a preamble at the top of each generated document via the --preamble CLI option (#34)
    • Users can now add copyright or informational headers. You can include a <FILE_NAME> placeholder in the preamble text to automatically insert the file name.
    • When enabled, the preamble will be added to each output file during conversion.
  • Added - Support for additional markdown extensions (experimental):
    • .markdown, .mkd (Markdown variants)
    • .mdx (MDX - Markdown + JSX)
    • .rmd (R Markdown)
    • .mmd (MultiMarkdown)
    • .qmd (Quarto)
  • Changed - Move WeasyPrint from required dependencies to optional dependencies (Resolves #33)
    • Now install PDF export support via:

      pip install mmg[pdf]
    • This change reduces unnecessary dependencies for users who don’t need PDF generation.

  • Changed - Now the -y (--yes) option can also be used when running in batch mode with the --batch flag. (#31)
  • Improved - Update CLI help message to show all supported file extensions
  • Improved - Refactor regex pattern compilation for better performance by moving it to module level