SingleFile CLI 2.23.0
New features
-
New options
--custom-stylesheet-fileand--embedded-script-file: the path of a file holding the CSS of--custom-stylesheetor the code of--embedded-script, for rules or scripts too long or too awkward to quote on the command line. Each one is refused together with its inline form.single-file https://www.example.com/scorecard scorecard.html --custom-stylesheet-file=tabs.css --embedded-script-file=tabs.js
CLI fixes and improvements
- Updated single-file-core to 1.9.1: the first occurrence of a repeated inline stylesheet is no longer kept in full next to its shared copy when
--group-duplicate-stylesheetsis enabled, subset fonts produced by--remove-unused-glyphskeep the glyphs CoreText needs to align small text on macOS, and the serializer writes processing instructions and CDATA sections instead of the word "undefined"
Co-authored by Claude (Claude Code)