logoalt Hacker News

Plugins case study: mdBook preprocessors

14 pointsby ingvelast Monday at 10:26 AM3 commentsview on HN

Comments

dleeftinktoday at 10:18 AM

For those in the JS/CSS/HTML ecosystem, paged.js[0] provides a comprehensive plugin or custom 'hooks' system to enhance CSS to print functionality. The maintainers have recently gone through a new round of FOSS funding and have also been more actively updating their journal in regards to the CSS @media print spec and their upcoming '2.0' polyfill[1].

[0]: https://pagedjs.org/en/documentation/10-handlers-hooks-and-c...

[1]: https://pagedjs.org/en/journal/

dkdciotoday at 10:43 AM

useful and timely for me…I’ve been thinking about writing a Zola preprocessor (or fork) to do a few things, including optional execution of Python code within Markdown a la Quarto. maybe I’ll start with a mdBook plugin and go from there