4 ms·
Plugins case study: mdBook preprocessors
- dleeftink 10mo agoFor 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-custom-javascript/ https://pagedjs.org/en/documentation/10-handlers-hooks-and-c... [1]: https://pagedjs.org/en/journal/ https://pagedjs.org/en/journal/
- dkdcio 10mo agouseful 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
- mkesper 10mo agoRecent discussion: https://news.ycombinator.com/item?id=46311993 https://news.ycombinator.com/item?id=46311993