Skip to content

Support other PDF export tools for revealjs (e.g decktape) #4677

@cderv

Description

@cderv

Current PDF export mode rom revealjs doesn't work reliable on most browsers. For example on Firefox you will still get garbage resp. wrong page breaks in the printed results after activating this mode. Well, you'll find a warning note about this flaw in the documentation, but it's IMHO still a very disappointing behavior.

I would therefore prefer a more reliable solution, which provides reproducible correct results in arbitrary browsers.

This can be realized in practice by integrating decktape resp. puppeteer, playwright or another similar mechanism into the CLI-tool for the document processing to generate a PDF-document beside the HTML-output and just add a download button in the HTML-menu or -toolbar instead of the present print style-switch entry. That's the way, how for example slidev handles this task in a much more reliable manner (see: https://sli.dev/guide/exporting#pdf).

Originally posted by @mash-graz in #2988 (comment)

Related

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrevealjsIssues with the revealjs format

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions