3 ms·
Maybe you could use html as an intermediate point instead of markdown. Might give you more control over the layout. Might have to use a headless chromium wrapp
by jddj 3y ago
Maybe you could use html as an intermediate point instead of markdown. Might give you more control over the layout.
Might have to use a headless chromium wrapper (maybe pandoc has this anyway) to then get to pdf but that may not be too bad
- stakhanov 3y agoI was thinking the same thing: I would use HTML as an intermediate, targeting PDF through weasyprint. In fact I quite often go .md -> .html with pandoc, but write the .md in such a way that, when translated, it is the kind of html that weasyprint will be able to turn into the PDF that I want.