Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert slides from xaringan to Quarto revealjs #154

Open
mine-cetinkaya-rundel opened this issue Jul 31, 2024 · 2 comments
Open

Convert slides from xaringan to Quarto revealjs #154

mine-cetinkaya-rundel opened this issue Jul 31, 2024 · 2 comments
Labels
tidy-dev-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day

Comments

@mine-cetinkaya-rundel
Copy link
Member

Might also consider making code cells interactive with webR.

@mine-cetinkaya-rundel mine-cetinkaya-rundel added the tidy-dev-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day label Jul 31, 2024
@mine-cetinkaya-rundel
Copy link
Member Author

mine-cetinkaya-rundel commented Aug 15, 2024

Useful steps:

  • Convert .Rmd to .qmd
  • knitr::convert_chunk_header()
  • Remove class: middle
  • Remove slide breaks:
    • If --- followed by a header, then just remove
    • If --- not followed by a header, then add ## after to indicate a new slide
  • Replace --- with nothing with Ctrl+F (and then add them back just for the document YAML)
  • remove .pull-left-wide[ and ] from each slide
  • output with format and xaringan::moon_reader with revealjs
  • Delete lib_dir line
  • Remove nature
  • Remove ratio
  • Remove hihlightLines
  • Add footer: "https://datasciencebox.org"
  • highlightStyle field becomes highlight-style and unindent
  • Make solarized-light becomes a11y
  • Remove countIncrementalSlides line
  • If panels are being used in deck, convert to Quarto tabsets: https://quarto.org/docs/presentations/revealjs/#tabsets
  • If columns are being used in deck (pull-left or pull-left-wide etc.), convert to Quarto columns: https://quarto.org/docs/presentations/#multiple-columns

Then anything with columns is tedious but manual (is what I've found).

@tracykteal
Copy link
Member

tracykteal commented Aug 24, 2024

New YAML can be

---
title: "Title text!"
subtitle: "<br><br> Data Science in a Box"
author: "[datasciencebox.org](https://datasciencebox.org/)"
format:
  revealjs:
    css: ["../xaringan-themer.css", "../slides.css"]
    highlight-style: a11y
    slide-number: true
    footer: "https://datasciencebox.org"
---

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tidy-dev-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day
Projects
None yet
Development

No branches or pull requests

2 participants