I've been creating html slides using xaringan
and I want to save them as PDF. I'm trying to use pagedown::chrome_print
, however the output is generated with unwanted margins that aren't displyed in the html version. Do you know how can I solve it?
This is my YAML header
title: "Example"
subtitle: "1"
author: "Edo"
institute: ""
date: ""
output:
xaringan::moon_reader:
css: [mymetropolis.css, metropolis-fonts]
lib_dir: libs
nature:
ratio: '16:9'
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
Thanks a lot
Maybe you can try
css: [default, mymetropolis.css, metropolis-fonts]