v4.0.0
Important
See also https://github.com/orgs/marp-team/discussions/533 about new changes in Marp Core.
⚡️ Breaking
- End-of-Lifed Node.js 16 is no longer supported, and required Node.js 18 and later (#591)
- Upgrade Marp Core to v4.0.0 (#591)
- The slide container of built-in themes became the block element and adopted safe centering
- Relax HTML allowlist: Allowed a lot of HTML elements and attributes by default
- The container image is now based on Debian instead of Alpine (#608)
Added
- Initial support for Firefox / WebDriver BiDi protocol during conversion (#565, #597)
--browser
and some related options to control the browser for conversion (#603)- Find Chrome and Edge from the host Windows as a fallback when WSL 2 networking is mirrored mode (#604)
--debug
(-d
) option to CLI interface (#599)- Publish the container image to GitHub Container Registry (#578, #608)
- CI testing against Node.js v22 (#591)
Changed
- Upgrade Marpit to v3.1.1 (#591)
- Support for CSS nesting
- Use the new headless mode of Chrome while converting by default (#593)
- You can get back to the old headless mode by setting
PUPPETEER_HEADLESS_MODE=old
env.
- You can get back to the old headless mode by setting
- Upgrade development Node.js LTS to v20.17.0 (#591)
- Upgrade dependent packages to the latest versions (#591, #598)
- Migrate ESLint config to flat config (#606)
- Switch package manager from yarn to npm (#607)