marp-team / marp-cli

A CLI interface for Marp and Marpit based converters
MIT License
1.9k stars 108 forks source link

Fix an edge case about failure of global directive injection by CLI with `--html` option #519

Closed yhatt closed 1 year ago

yhatt commented 1 year ago

Fixed #511.

The converter is now using Marpit plugin instead of a simple string injection to override CLI specific global directives.

This change will fix a failure about overriding global directives when --html option was enabled and there was a HTML block at the end of Markdown file.