Is it possible to format the pdf output through CSS (or somehow else)? E. g. change the serif font to sans-serif or change the appearance of <pre> paragraphs? --Mosmas (talk) 10:10, 2 March 2018 (UTC)
Topic on Extension talk:ElectronPdfService
Hey @Mosmas, you can add special CSS rules to the general print layout of you wiki on the MediaWiki:Print.css page of the wiki. ( e.g. https://en.wikipedia.org/wiki/MediaWiki:Print.css ). The CSS there should also affect the layout of the ElectronPDF output.
See as well Manual:Interface/Stylesheets
Hope that works for you, best
Christoph