我可以在同一个 .qmd 中呈现 .html 和 .pdf 演示文稿吗?

RxT*_*RxT 5 html r reveal.js quarto

我一直Quarto在 RStudio 中做一些演示。

我喜欢用 来进行演示revealjs,而不是将输出转换.html.pdf发送给我的学生。

我可以同时渲染两种格式吗?


---
title: "R and RStudio"
author: "RTheodoro"
institute: "USP"
format: 
   revealjs:
     logo: img/usp_logo.png
     slide-number: true
     show-slide-number: all
     preview-links: auto
     width: 1280
     height: 720
     theme: default
editor: visual
execute:
  echo: true
---

## What is R?

-   R is.....

Run Code Online (Sandbox Code Playgroud)

小智 2

我刚刚这样做并在 RStudio 中按下“渲染”,它生成了 pdf 和 html。你是这个意思吗?

---
title: "R and RStudio"
author: "RTheodoro"
institute: "USP"
format: 
  revealjs:
     logo: img/usp_logo.png
     slide-number: true
     show-slide-number: all
     preview-links: auto
     width: 1280
     height: 720
     theme: default
  pdf: default
editor: visual
execute:
  echo: true
---

## What is R?

-   R is.....
Run Code Online (Sandbox Code Playgroud)

使成为