Plugins case study: mdBook preprocessors

(eli.thegreenplace.net)

9 points | by ingve 6 days ago

2 comments

  • dleeftink 2 hours ago
    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/

  • dkdcio 1 hour ago
    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