Plugins case study: mdBook preprocessors

(eli.thegreenplace.net)

16 points | by ingve 47 days ago

3 comments

  • dleeftink 41 days 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/

  • mkesper 41 days ago
  • dkdcio 41 days 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