我一直在使用xaringan创建html幻灯片,我想将它们保存为PDF。我正在尝试使用pagedown::chrome_print,但是生成的输出带有不必要的页边距,在html版本中没有显示出来。你知道我该怎么解决这个问题吗?
这是我的YAML标头
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非常感谢
发布于 2020-12-11 20:23:37
也许你可以试试css: [default, mymetropolis.css, metropolis-fonts]
https://stackoverflow.com/questions/64121075
复制相似问题