mdBook supports language-agnostic preprocessors and renderers that modify Markdown-based book sources before rendering, enabling flexible plugin-driven output customization.
Native CSS mixins would enable reusable, parameterized blocks of styles with nesting and composition, reducing preprocessor reliance and duplicated compiled CSS.