Skip to content

Revealjs code-line-numbers does not work when exported to pdf #12945

Answered by mcanouil
dsfeorg asked this question in Q&A
Discussion options

You must be logged in to vote

Note that if you are talking about the native (to Reveal.js) "export", it's known to have various limitations which you can find on Reveal.js repository and here in the discussions.
One of the current best way to export Reveal.js slides is to use Decktape (as discussed in many other discussions).

See for example the last section of this blog post of mine: https://mickael.canouil.fr/posts/2025-04-21-quarto-revealjs-tabset-pdf/#exporting-to-pdf

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dsfeorg
Comment options

@mcanouil
Comment options

Answer selected by dsfeorg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format
2 participants