This is super useful for focusing attention during teaching and explaining code line-by-line. Legend.background = element_rect(fill = NA),Ĭode highlighting isn’t a new feature in and of itself (you could definitely highlight code lines in xaringan), but here it’s very easy to “step through” code by highlighting various lines on a click. Title = "Average undergraduate enrollment per rank over time") + Scale_color_brewer(type = "qual", palette = "Dark2") + Ggplot(aes(x = year, y = avg_enr, group = rank, color = rank)) + By adding the following line to your YAML: Emojisįirst things first-how to use emojis in Quarto? Thankfully, this was an easy one. Mine Çetinkaya-Rundel also has an ongoingįor specifics about making presentations with reveal.js in Quarto, theĭemo presentation code are all incredibly useful. My favorite introduction to the publishing system itself is Workshop-I would normally use the R Markdown-backed xaringan for HTML presentations, but I decided to try out the Quarto alternative, which uses reveal.js.Ī lot of the functionality is similar to using xaringan or other similar R Markdown HTML formats, but there’s lots of new syntax to learn (as well as plenty of new features!), so I put this post together to compile a few things I learned while making a Quarto presentation for the first time. I am a devoted R Markdown user, but I want to start exploring the new Quarto features. It is similar in many ways to R Markdown (which isn’t going away, don’t worry!), except that it doesn’t require R, supports more languages, and combines the functionality of many R Markdown packages (e.g., xaringan, bookdown). Quarto is a new open-source technical publishing system from RStudio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |