├── .gitignore ├── LICENSE.md ├── README.md ├── _extensions └── quarto-ext │ └── fontawesome │ ├── _extension.yml │ ├── assets │ ├── css │ │ └── all.css │ └── webfonts │ │ ├── fa-brands-400.ttf │ │ ├── fa-brands-400.woff2 │ │ ├── fa-regular-400.ttf │ │ ├── fa-regular-400.woff2 │ │ ├── fa-solid-900.ttf │ │ ├── fa-solid-900.woff2 │ │ ├── fa-v4compatibility.ttf │ │ └── fa-v4compatibility.woff2 │ └── fontawesome.lua ├── _freeze ├── about │ └── execute-results │ │ └── html.json ├── materials │ ├── 01-simple-docs │ │ └── 01-single-docs │ │ │ └── execute-results │ │ │ └── html.json │ ├── 1-welcome-to-quarto │ │ ├── slides │ │ │ └── welcome-to-quarto │ │ │ │ ├── execute-results │ │ │ │ └── html.json │ │ │ │ └── libs │ │ │ │ ├── clipboard │ │ │ │ └── clipboard.min.js │ │ │ │ ├── quarto-html │ │ │ │ ├── popper.min.js │ │ │ │ ├── quarto-html.min.css │ │ │ │ ├── quarto-syntax-highlighting.css │ │ │ │ ├── tabby.min.js │ │ │ │ ├── tippy.css │ │ │ │ └── tippy.umd.min.js │ │ │ │ └── revealjs │ │ │ │ ├── dist │ │ │ │ ├── reset.css │ │ │ │ ├── reveal.css │ │ │ │ ├── reveal.esm.js │ │ │ │ ├── reveal.esm.js.map │ │ │ │ ├── reveal.js │ │ │ │ ├── reveal.js.map │ │ │ │ └── theme │ │ │ │ │ ├── fonts │ │ │ │ │ ├── league-gothic │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── league-gothic.css │ │ │ │ │ │ ├── league-gothic.eot │ │ │ │ │ │ ├── league-gothic.ttf │ │ │ │ │ │ └── league-gothic.woff │ │ │ │ │ └── source-sans-pro │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── source-sans-pro-italic.eot │ │ │ │ │ │ ├── source-sans-pro-italic.ttf │ │ │ │ │ │ ├── source-sans-pro-italic.woff │ │ │ │ │ │ ├── source-sans-pro-regular.eot │ │ │ │ │ │ ├── source-sans-pro-regular.ttf │ │ │ │ │ │ ├── source-sans-pro-regular.woff │ │ │ │ │ │ ├── source-sans-pro-semibold.eot │ │ │ │ │ │ ├── source-sans-pro-semibold.ttf │ │ │ │ │ │ ├── source-sans-pro-semibold.woff │ │ │ │ │ │ ├── source-sans-pro-semibolditalic.eot │ │ │ │ │ │ ├── source-sans-pro-semibolditalic.ttf │ │ │ │ │ │ ├── source-sans-pro-semibolditalic.woff │ │ │ │ │ │ └── source-sans-pro.css │ │ │ │ │ └── quarto.css │ │ │ │ └── plugin │ │ │ │ ├── highlight │ │ │ │ ├── highlight.esm.js │ │ │ │ ├── highlight.js │ │ │ │ ├── monokai.css │ │ │ │ ├── plugin.js │ │ │ │ └── zenburn.css │ │ │ │ ├── markdown │ │ │ │ ├── markdown.esm.js │ │ │ │ ├── markdown.js │ │ │ │ └── plugin.js │ │ │ │ ├── math │ │ │ │ ├── katex.js │ │ │ │ ├── math.esm.js │ │ │ │ ├── math.js │ │ │ │ ├── mathjax2.js │ │ │ │ ├── mathjax3.js │ │ │ │ └── plugin.js │ │ │ │ ├── notes │ │ │ │ ├── notes.esm.js │ │ │ │ ├── notes.js │ │ │ │ ├── plugin.js │ │ │ │ └── speaker-view.html │ │ │ │ ├── pdf-export │ │ │ │ ├── pdfexport.js │ │ │ │ └── plugin.yml │ │ │ │ ├── quarto-line-highlight │ │ │ │ ├── line-highlight.css │ │ │ │ ├── line-highlight.js │ │ │ │ └── plugin.yml │ │ │ │ ├── quarto-support │ │ │ │ ├── footer.css │ │ │ │ ├── plugin.yml │ │ │ │ └── support.js │ │ │ │ ├── reveal-menu │ │ │ │ ├── menu.css │ │ │ │ ├── menu.js │ │ │ │ ├── plugin.yml │ │ │ │ ├── quarto-menu.css │ │ │ │ └── quarto-menu.js │ │ │ │ ├── search │ │ │ │ ├── plugin.js │ │ │ │ ├── search.esm.js │ │ │ │ └── search.js │ │ │ │ └── zoom │ │ │ │ ├── plugin.js │ │ │ │ ├── zoom.esm.js │ │ │ │ └── zoom.js │ │ └── welcome-to-quarto │ │ │ └── execute-results │ │ │ └── html.json │ ├── 2-polishing-documents │ │ └── slides │ │ │ └── polishing-documents │ │ │ └── execute-results │ │ │ └── html.json │ ├── 3-computation │ │ ├── computation │ │ │ └── execute-results │ │ │ │ └── html.json │ │ └── slides │ │ │ └── computation │ │ │ ├── execute-results │ │ │ └── html.json │ │ │ ├── figure-revealjs │ │ │ ├── eg-1-1.png │ │ │ ├── fig-eg-1-1.png │ │ │ ├── fig-polar-1.png │ │ │ ├── gg-ex-1.png │ │ │ ├── unnamed-chunk-2-1.png │ │ │ ├── unnamed-chunk-3-1.png │ │ │ └── unnamed-chunk-4-1.png │ │ │ └── libs │ │ │ ├── clipboard │ │ │ └── clipboard.min.js │ │ │ ├── quarto-html │ │ │ ├── popper.min.js │ │ │ ├── quarto-html.min.css │ │ │ ├── quarto-syntax-highlighting.css │ │ │ ├── tabby.min.js │ │ │ ├── tippy.css │ │ │ └── tippy.umd.min.js │ │ │ └── revealjs │ │ │ ├── dist │ │ │ ├── reset.css │ │ │ ├── reveal.css │ │ │ ├── reveal.esm.js │ │ │ ├── reveal.esm.js.map │ │ │ ├── reveal.js │ │ │ ├── reveal.js.map │ │ │ └── theme │ │ │ │ ├── fonts │ │ │ │ ├── league-gothic │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── league-gothic.css │ │ │ │ │ ├── league-gothic.eot │ │ │ │ │ ├── league-gothic.ttf │ │ │ │ │ └── league-gothic.woff │ │ │ │ └── source-sans-pro │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── source-sans-pro-italic.eot │ │ │ │ │ ├── source-sans-pro-italic.ttf │ │ │ │ │ ├── source-sans-pro-italic.woff │ │ │ │ │ ├── source-sans-pro-regular.eot │ │ │ │ │ ├── source-sans-pro-regular.ttf │ │ │ │ │ ├── source-sans-pro-regular.woff │ │ │ │ │ ├── source-sans-pro-semibold.eot │ │ │ │ │ ├── source-sans-pro-semibold.ttf │ │ │ │ │ ├── source-sans-pro-semibold.woff │ │ │ │ │ ├── source-sans-pro-semibolditalic.eot │ │ │ │ │ ├── source-sans-pro-semibolditalic.ttf │ │ │ │ │ ├── source-sans-pro-semibolditalic.woff │ │ │ │ │ └── source-sans-pro.css │ │ │ │ └── quarto.css │ │ │ └── plugin │ │ │ ├── highlight │ │ │ ├── highlight.esm.js │ │ │ ├── highlight.js │ │ │ ├── monokai.css │ │ │ ├── plugin.js │ │ │ └── zenburn.css │ │ │ ├── markdown │ │ │ ├── markdown.esm.js │ │ │ ├── markdown.js │ │ │ └── plugin.js │ │ │ ├── math │ │ │ ├── katex.js │ │ │ ├── math.esm.js │ │ │ ├── math.js │ │ │ ├── mathjax2.js │ │ │ ├── mathjax3.js │ │ │ └── plugin.js │ │ │ ├── multiplex │ │ │ ├── multiplex.js │ │ │ ├── plugin.yml │ │ │ └── socket.io.js │ │ │ ├── notes │ │ │ ├── notes.esm.js │ │ │ ├── notes.js │ │ │ ├── plugin.js │ │ │ └── speaker-view.html │ │ │ ├── pdf-export │ │ │ ├── pdfexport.js │ │ │ └── plugin.yml │ │ │ ├── quarto-line-highlight │ │ │ ├── line-highlight.css │ │ │ ├── line-highlight.js │ │ │ └── plugin.yml │ │ │ ├── quarto-support │ │ │ ├── footer.css │ │ │ ├── plugin.yml │ │ │ └── support.js │ │ │ ├── reveal-menu │ │ │ ├── menu.css │ │ │ ├── menu.js │ │ │ ├── plugin.yml │ │ │ ├── quarto-menu.css │ │ │ └── quarto-menu.js │ │ │ ├── search │ │ │ ├── plugin.js │ │ │ ├── search.esm.js │ │ │ └── search.js │ │ │ └── zoom │ │ │ ├── plugin.js │ │ │ ├── zoom.esm.js │ │ │ └── zoom.js │ ├── 3-computations │ │ └── computations │ │ │ └── execute-results │ │ │ └── html.json │ └── index │ │ └── execute-results │ │ └── html.json └── site_libs │ ├── clipboard │ └── clipboard.min.js │ └── revealjs │ ├── dist │ ├── reset.css │ ├── reveal.css │ ├── reveal.esm.js │ ├── reveal.esm.js.map │ ├── reveal.js │ ├── reveal.js.map │ └── theme │ │ ├── fonts │ │ ├── league-gothic │ │ │ ├── LICENSE │ │ │ ├── league-gothic.css │ │ │ ├── league-gothic.eot │ │ │ ├── league-gothic.ttf │ │ │ └── league-gothic.woff │ │ └── source-sans-pro │ │ │ ├── LICENSE │ │ │ ├── source-sans-pro-italic.eot │ │ │ ├── source-sans-pro-italic.ttf │ │ │ ├── source-sans-pro-italic.woff │ │ │ ├── source-sans-pro-regular.eot │ │ │ ├── source-sans-pro-regular.ttf │ │ │ ├── source-sans-pro-regular.woff │ │ │ ├── source-sans-pro-semibold.eot │ │ │ ├── source-sans-pro-semibold.ttf │ │ │ ├── source-sans-pro-semibold.woff │ │ │ ├── source-sans-pro-semibolditalic.eot │ │ │ ├── source-sans-pro-semibolditalic.ttf │ │ │ ├── source-sans-pro-semibolditalic.woff │ │ │ └── source-sans-pro.css │ │ └── quarto.css │ └── plugin │ ├── highlight │ ├── highlight.esm.js │ ├── highlight.js │ ├── monokai.css │ ├── plugin.js │ └── zenburn.css │ ├── markdown │ ├── markdown.esm.js │ ├── markdown.js │ └── plugin.js │ ├── math │ ├── katex.js │ ├── math.esm.js │ ├── math.js │ ├── mathjax2.js │ ├── mathjax3.js │ └── plugin.js │ ├── multiplex │ ├── multiplex.js │ ├── plugin.yml │ └── socket.io.js │ ├── notes │ ├── notes.esm.js │ ├── notes.js │ ├── plugin.js │ └── speaker-view.html │ ├── pdf-export │ ├── pdfexport.js │ └── plugin.yml │ ├── quarto-line-highlight │ ├── line-highlight.css │ ├── line-highlight.js │ └── plugin.yml │ ├── quarto-support │ ├── footer.css │ ├── plugin.yml │ └── support.js │ ├── reveal-menu │ ├── menu.css │ ├── menu.js │ ├── plugin.yml │ ├── quarto-menu.css │ └── quarto-menu.js │ ├── search │ ├── plugin.js │ ├── search.esm.js │ └── search.js │ └── zoom │ ├── plugin.js │ ├── zoom.esm.js │ └── zoom.js ├── _quarto.yml ├── about.qmd ├── custom.scss ├── images ├── grand-tour-small.png ├── seaplane-bg.png ├── seaplane.png └── sikorsky.pdf ├── index.css ├── index.qmd ├── materials ├── 1-welcome-to-quarto │ ├── exercises │ │ ├── demo.qmd │ │ ├── ex-1.qmd │ │ ├── ex-2-figs.png │ │ ├── ex-2-goal.html │ │ ├── ex-2-goal.pdf │ │ ├── ex-2-goal.qmd │ │ ├── ex-2-goal_files │ │ │ └── libs │ │ │ │ ├── bootstrap │ │ │ │ ├── bootstrap-icons.css │ │ │ │ ├── bootstrap-icons.woff │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.js │ │ │ │ ├── clipboard │ │ │ │ └── clipboard.min.js │ │ │ │ └── quarto-html │ │ │ │ ├── anchor.min.js │ │ │ │ ├── popper.min.js │ │ │ │ ├── quarto-syntax-highlighting.css │ │ │ │ ├── quarto.js │ │ │ │ ├── tippy.css │ │ │ │ └── tippy.umd.min.js │ │ ├── ex-2.qmd │ │ └── sandbox.qmd │ ├── index.qmd │ └── slides │ │ ├── images │ │ ├── demo-html.png │ │ ├── demo-md.png │ │ ├── demo-pdf.png │ │ ├── demo.docx │ │ ├── demo.pdf │ │ ├── disassembled-rubix.jpg │ │ ├── edison-bulb.png │ │ ├── elephant-html.png │ │ ├── elephant-latex.png │ │ ├── elephant.png │ │ ├── ex-1-yaml.png │ │ ├── ex-2.qmd │ │ ├── gallery-books-r4ds.png │ │ ├── gallery-books-viz.png │ │ ├── gallery-doc-html.png │ │ ├── gallery-doc-pdf.png │ │ ├── gallery-pres-3.png │ │ ├── gallery-pres-4.png │ │ ├── gallery-web-nasa.png │ │ ├── gallery-web-quarto.png │ │ ├── github-discussion.png │ │ ├── large-rubiks-cube.png │ │ ├── med-rubiks-cube.png │ │ ├── pandoc-diagram.svg │ │ ├── pandoc-docs.png │ │ ├── pollev.png │ │ ├── quarto-workshop-1.jpg │ │ ├── quarto-workshop-2.jpg │ │ ├── quarto-workshop-3.jpg │ │ ├── quarto-workshop-4.jpg │ │ ├── quarto-workshop-5.jpg │ │ ├── quarto-workshop-6.jpg │ │ ├── render-icon.png │ │ ├── rmarkdown_wizards.png │ │ ├── rstudio-console.png │ │ ├── rstudio-terminal.png │ │ ├── rubiks-cube-patent.pdf │ │ ├── rubiks-patent.png │ │ ├── seaplane-headon.png │ │ ├── sticky.jpeg │ │ ├── terminal.png │ │ └── try-pandoc.png │ │ └── welcome-to-quarto.qmd ├── 2-polishing-documents │ ├── exercises │ │ ├── ex-3.qmd │ │ ├── ex-4.css │ │ ├── ex-4.qmd │ │ ├── images │ │ │ ├── circuit-mondo.png │ │ │ ├── circuit-small.png │ │ │ ├── circuit.png │ │ │ ├── dog-watch-mondo.png │ │ │ ├── dog-watch-small.png │ │ │ ├── dog-watch.png │ │ │ ├── watch-face-mondo.png │ │ │ ├── watch-face-small.png │ │ │ └── watch-face.png │ │ └── sandbox.qmd │ ├── index.qmd │ └── slides │ │ ├── images │ │ ├── bootswatch.png │ │ ├── callouts-doc.png │ │ ├── callouts-pdf.png │ │ ├── circuit.png │ │ ├── doc-layout.png │ │ ├── dog-watch-patent.pdf │ │ ├── dog-watch.png │ │ ├── margin-no.png │ │ ├── margin-yes.png │ │ ├── pandoc-convert-1.png │ │ ├── pandoc-convert-2.png │ │ ├── quarto-workshop-07.jpg │ │ ├── quarto-workshop-08.jpg │ │ ├── quarto-workshop-09.jpg │ │ ├── quarto-workshop-10.jpg │ │ ├── quarto-workshop-11.jpg │ │ ├── quarto-workshop-12.jpg │ │ ├── rubiks-patent.png │ │ ├── visual-attributes.png │ │ ├── visual-elements.png │ │ ├── visual-table.png │ │ ├── watch-face.png │ │ ├── yaml-intelligence.png │ │ ├── zen-1.png │ │ ├── zen-2.png │ │ └── zen-3.png │ │ └── polishing-documents.qmd ├── 3-computation │ ├── exercises │ │ ├── ex-5.qmd │ │ ├── ex-5_files │ │ │ └── figure-html │ │ │ │ └── unnamed-chunk-2-1.png │ │ └── sandbox.qmd │ ├── index.qmd │ └── slides │ │ ├── computation.qmd │ │ └── images │ │ ├── code-yaml-intelligence.png │ │ ├── paged-df.png │ │ ├── quarto-workshop-13.jpg │ │ ├── r-in-yaml.png │ │ └── shiny.png ├── 4-projects-and-publishing │ ├── exercises │ │ └── ex-1.qmd │ ├── index.qmd │ └── slides │ │ └── projects-and-publishing.qmd ├── 5-presentations │ ├── exercises │ │ └── ex-1.qmd │ ├── index.qmd │ └── slides │ │ └── presentations.qmd ├── 6-websites-and-books │ ├── exercises │ │ └── ex-1.qmd │ ├── index.qmd │ └── slides │ │ └── websites-and-books.qmd ├── 7-workshop │ ├── exercises │ │ └── ex-1.qmd │ ├── index.qmd │ └── slides │ │ └── workshop.qmd ├── 8-extending-quarto │ ├── exercises │ │ └── ex-1.qmd │ ├── index.qmd │ └── slides │ │ └── extending-quarto.qmd ├── index.qmd └── slides.scss └── workshop-conf-2022.Rproj /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | .Ruserdata 5 | .DS_Store 6 | /.quarto/ 7 | _site/ -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/_extension.yml: -------------------------------------------------------------------------------- 1 | title: Font Awesome support 2 | author: Carlos Scheidegger 3 | version: 0.0.1 4 | contributes: 5 | shortcodes: 6 | - fontawesome.lua 7 | -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/assets/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_extensions/quarto-ext/fontawesome/assets/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /_extensions/quarto-ext/fontawesome/fontawesome.lua: -------------------------------------------------------------------------------- 1 | function ensureLatexDeps() 2 | quarto.doc.useLatexPackage("fontawesome5") 3 | end 4 | 5 | function ensureHtmlDeps() 6 | quarto.doc.addHtmlDependency({ 7 | name = 'fontawesome6', 8 | version = '0.1.0', 9 | stylesheets = {'assets/css/all.css'} 10 | }) 11 | end 12 | 13 | return { 14 | ["fa"] = function(args, kwargs) 15 | 16 | local group = "solid" 17 | local icon = pandoc.utils.stringify(args[1]) 18 | if #args > 1 then 19 | group = icon 20 | icon = pandoc.utils.stringify(args[2]) 21 | end 22 | 23 | -- detect html (excluding epub which won't handle fa) 24 | if quarto.doc.isFormat("html:js") then 25 | ensureHtmlDeps() 26 | return pandoc.RawInline('html', "") 27 | -- detect pdf / beamer / latex / etc 28 | elseif quarto.doc.isFormat("pdf") then 29 | ensureLatexDeps() 30 | return pandoc.RawInline('tex', "\\faIcon{" .. icon .. "}") 31 | else 32 | return pandoc.Null() 33 | end 34 | 35 | end 36 | } -------------------------------------------------------------------------------- /_freeze/materials/01-simple-docs/01-single-docs/execute-results/html.json: -------------------------------------------------------------------------------- 1 | { 2 | "hash": "4c61cce6736fd121d81c025b15720e52", 3 | "result": { 4 | "markdown": "---\ntitle: \"Simple Documents\"\nsubtitle: \"rstudio::conf(2022)
From R Markdown to Quarto\"\nauthor: \"Andrew Bray\"\nfooter: \"[rstd.io/rmd-to-quarto](https://rstd.io/rmd-to-quarto)\"\nformat: \n revealjs:\n theme: ../slides.scss\n multiplex: true\n transition: fade\n slide-number: true\n incremental: true \n center: false\nexecute:\n freeze: auto\n---\n\n## Introductions\n\nPlease take ~2 minutes to introduce yourself to your neighbors. Share:\n\n1. Your name\n2. Where you’re from\n3. What you work on in 3 words or fewer\n4. Name one thing you’ve made that you’re proud of\n\n## Workshop Resources\n\n[rstd.io/rmd-to-quarto](rstd.io/rmd-to-quarto)\n\n\n## Workshop Schedule\n\nTable from website\n\n\n## Communication: stickies\n\nDuring an exercise, place a green sticky on your laptop if you're good to go and a pink sticky if you want help.\n\nzzq add photos\n\n\n## Workshop Discussion\n\nIf you have a question that you think will be useful to everyone or useful to have on record, post to [https://github.com/rstudio-conf-2022/rmd-to-quarto/discussions](https://github.com/rstudio-conf-2022/rmd-to-quarto/discussions)\n\n\n# Quarto Gallery\n\n\n# Quarto Overview\n\n\n```{css}\n#| echo: false\nh2 {\n text-align: center;\n}\n```\n\n\n## What is a document?\n\n:::{.bigadage}\n[A document]{.fragment} [is a list of block elements]{.fragment} [that contain inline elements or other blocks.]{.fragment}\n:::\n\n", 5 | "supporting": [ 6 | "01-single-docs_files" 7 | ], 8 | "filters": [], 9 | "includes": {} 10 | } 11 | } -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/quarto-html/quarto-html.min.css: -------------------------------------------------------------------------------- 1 | /*# sourceMappingURL=0a6b880beb84f9b6f36107a76f82c5b1.css.map */ 2 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/quarto-html/quarto-syntax-highlighting.css: -------------------------------------------------------------------------------- 1 | /* quarto syntax highlight colors */ 2 | :root { 3 | --quarto-hl-al-color: #ff5555; 4 | --quarto-hl-an-color: #6a737d; 5 | --quarto-hl-at-color: #d73a49; 6 | --quarto-hl-bn-color: #005cc5; 7 | --quarto-hl-bu-color: #d73a49; 8 | --quarto-hl-ch-color: #032f62; 9 | --quarto-hl-co-color: #6a737d; 10 | --quarto-hl-cv-color: #6a737d; 11 | --quarto-hl-cn-color: #005cc5; 12 | --quarto-hl-cf-color: #d73a49; 13 | --quarto-hl-dt-color: #d73a49; 14 | --quarto-hl-dv-color: #005cc5; 15 | --quarto-hl-do-color: #6a737d; 16 | --quarto-hl-er-color: #ff5555; 17 | --quarto-hl-ex-color: #d73a49; 18 | --quarto-hl-fl-color: #005cc5; 19 | --quarto-hl-fu-color: #6f42c1; 20 | --quarto-hl-im-color: #032f62; 21 | --quarto-hl-in-color: #6a737d; 22 | --quarto-hl-kw-color: #d73a49; 23 | --quarto-hl-op-color: #24292e; 24 | --quarto-hl-pp-color: #d73a49; 25 | --quarto-hl-re-color: #6a737d; 26 | --quarto-hl-sc-color: #005cc5; 27 | --quarto-hl-ss-color: #032f62; 28 | --quarto-hl-st-color: #032f62; 29 | --quarto-hl-va-color: #e36209; 30 | --quarto-hl-vs-color: #032f62; 31 | --quarto-hl-wa-color: #ff5555; 32 | } 33 | 34 | /* other quarto variables */ 35 | :root { 36 | --quarto-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 37 | } 38 | 39 | code span.al { 40 | font-weight: bold; 41 | color: #ff5555; 42 | } 43 | 44 | code span.an { 45 | color: #6a737d; 46 | } 47 | 48 | code span.at { 49 | color: #d73a49; 50 | } 51 | 52 | code span.bn { 53 | color: #005cc5; 54 | } 55 | 56 | code span.bu { 57 | color: #d73a49; 58 | } 59 | 60 | code span.ch { 61 | color: #032f62; 62 | } 63 | 64 | code span.co { 65 | color: #6a737d; 66 | } 67 | 68 | code span.cv { 69 | color: #6a737d; 70 | } 71 | 72 | code span.cn { 73 | color: #005cc5; 74 | } 75 | 76 | code span.cf { 77 | color: #d73a49; 78 | } 79 | 80 | code span.dt { 81 | color: #d73a49; 82 | } 83 | 84 | code span.dv { 85 | color: #005cc5; 86 | } 87 | 88 | code span.do { 89 | color: #6a737d; 90 | } 91 | 92 | code span.er { 93 | color: #ff5555; 94 | text-decoration: underline; 95 | } 96 | 97 | code span.ex { 98 | font-weight: bold; 99 | color: #d73a49; 100 | } 101 | 102 | code span.fl { 103 | color: #005cc5; 104 | } 105 | 106 | code span.fu { 107 | color: #6f42c1; 108 | } 109 | 110 | code span.im { 111 | color: #032f62; 112 | } 113 | 114 | code span.in { 115 | color: #6a737d; 116 | } 117 | 118 | code span.kw { 119 | color: #d73a49; 120 | } 121 | 122 | pre > code.sourceCode > span { 123 | color: #24292e; 124 | } 125 | 126 | code span { 127 | color: #24292e; 128 | } 129 | 130 | code.sourceCode > span { 131 | color: #24292e; 132 | } 133 | 134 | div.sourceCode, 135 | div.sourceCode pre.sourceCode { 136 | color: #24292e; 137 | } 138 | 139 | code span.op { 140 | color: #24292e; 141 | } 142 | 143 | code span.pp { 144 | color: #d73a49; 145 | } 146 | 147 | code span.re { 148 | color: #6a737d; 149 | } 150 | 151 | code span.sc { 152 | color: #005cc5; 153 | } 154 | 155 | code span.ss { 156 | color: #032f62; 157 | } 158 | 159 | code span.st { 160 | color: #032f62; 161 | } 162 | 163 | code span.va { 164 | color: #e36209; 165 | } 166 | 167 | code span.vs { 168 | color: #032f62; 169 | } 170 | 171 | code span.wa { 172 | color: #ff5555; 173 | } 174 | 175 | .prevent-inlining { 176 | content: ".tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1} -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/reset.css: -------------------------------------------------------------------------------- 1 | /* http://meyerweb.com/eric/tools/css/reset/ 2 | v4.0 | 20180602 3 | License: none (public domain) 4 | */ 5 | 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td, 15 | article, aside, canvas, details, embed, 16 | figure, figcaption, footer, header, hgroup, 17 | main, menu, nav, output, ruby, section, summary, 18 | time, mark, audio, video { 19 | margin: 0; 20 | padding: 0; 21 | border: 0; 22 | font-size: 100%; 23 | font: inherit; 24 | vertical-align: baseline; 25 | } 26 | /* HTML5 display-role reset for older browsers */ 27 | article, aside, details, figcaption, figure, 28 | footer, header, hgroup, main, menu, nav, section { 29 | display: block; 30 | } -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'League Gothic'; 3 | src: url('./league-gothic.eot'); 4 | src: url('./league-gothic.eot?#iefix') format('embedded-opentype'), 5 | url('./league-gothic.woff') format('woff'), 6 | url('./league-gothic.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Source Sans Pro'; 3 | src: url('./source-sans-pro-regular.eot'); 4 | src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), 5 | url('./source-sans-pro-regular.woff') format('woff'), 6 | url('./source-sans-pro-regular.ttf') format('truetype'); 7 | font-weight: normal; 8 | font-style: normal; 9 | } 10 | 11 | @font-face { 12 | font-family: 'Source Sans Pro'; 13 | src: url('./source-sans-pro-italic.eot'); 14 | src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), 15 | url('./source-sans-pro-italic.woff') format('woff'), 16 | url('./source-sans-pro-italic.ttf') format('truetype'); 17 | font-weight: normal; 18 | font-style: italic; 19 | } 20 | 21 | @font-face { 22 | font-family: 'Source Sans Pro'; 23 | src: url('./source-sans-pro-semibold.eot'); 24 | src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), 25 | url('./source-sans-pro-semibold.woff') format('woff'), 26 | url('./source-sans-pro-semibold.ttf') format('truetype'); 27 | font-weight: 600; 28 | font-style: normal; 29 | } 30 | 31 | @font-face { 32 | font-family: 'Source Sans Pro'; 33 | src: url('./source-sans-pro-semibolditalic.eot'); 34 | src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), 35 | url('./source-sans-pro-semibolditalic.woff') format('woff'), 36 | url('./source-sans-pro-semibolditalic.ttf') format('truetype'); 37 | font-weight: 600; 38 | font-style: italic; 39 | } 40 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/highlight/monokai.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #272822; 10 | color: #ddd; 11 | } 12 | 13 | .hljs-tag, 14 | .hljs-keyword, 15 | .hljs-selector-tag, 16 | .hljs-literal, 17 | .hljs-strong, 18 | .hljs-name { 19 | color: #f92672; 20 | } 21 | 22 | .hljs-code { 23 | color: #66d9ef; 24 | } 25 | 26 | .hljs-class .hljs-title { 27 | color: white; 28 | } 29 | 30 | .hljs-attribute, 31 | .hljs-symbol, 32 | .hljs-regexp, 33 | .hljs-link { 34 | color: #bf79db; 35 | } 36 | 37 | .hljs-string, 38 | .hljs-bullet, 39 | .hljs-subst, 40 | .hljs-title, 41 | .hljs-section, 42 | .hljs-emphasis, 43 | .hljs-type, 44 | .hljs-built_in, 45 | .hljs-builtin-name, 46 | .hljs-selector-attr, 47 | .hljs-selector-pseudo, 48 | .hljs-addition, 49 | .hljs-variable, 50 | .hljs-template-tag, 51 | .hljs-template-variable { 52 | color: #a6e22e; 53 | } 54 | 55 | .hljs-comment, 56 | .hljs-quote, 57 | .hljs-deletion, 58 | .hljs-meta { 59 | color: #75715e; 60 | } 61 | 62 | .hljs-keyword, 63 | .hljs-selector-tag, 64 | .hljs-literal, 65 | .hljs-doctag, 66 | .hljs-title, 67 | .hljs-section, 68 | .hljs-type, 69 | .hljs-selector-id { 70 | font-weight: bold; 71 | } 72 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/highlight/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #3f3f3f; 13 | color: #dcdcdc; 14 | } 15 | 16 | .hljs-keyword, 17 | .hljs-selector-tag, 18 | .hljs-tag { 19 | color: #e3ceab; 20 | } 21 | 22 | .hljs-template-tag { 23 | color: #dcdcdc; 24 | } 25 | 26 | .hljs-number { 27 | color: #8cd0d3; 28 | } 29 | 30 | .hljs-variable, 31 | .hljs-template-variable, 32 | .hljs-attribute { 33 | color: #efdcbc; 34 | } 35 | 36 | .hljs-literal { 37 | color: #efefaf; 38 | } 39 | 40 | .hljs-subst { 41 | color: #8f8f8f; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-name, 46 | .hljs-selector-id, 47 | .hljs-selector-class, 48 | .hljs-section, 49 | .hljs-type { 50 | color: #efef8f; 51 | } 52 | 53 | .hljs-symbol, 54 | .hljs-bullet, 55 | .hljs-link { 56 | color: #dca3a3; 57 | } 58 | 59 | .hljs-deletion, 60 | .hljs-string, 61 | .hljs-built_in, 62 | .hljs-builtin-name { 63 | color: #cc9393; 64 | } 65 | 66 | .hljs-addition, 67 | .hljs-comment, 68 | .hljs-quote, 69 | .hljs-meta { 70 | color: #7f9f7f; 71 | } 72 | 73 | 74 | .hljs-emphasis { 75 | font-style: italic; 76 | } 77 | 78 | .hljs-strong { 79 | font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/math/katex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for KaTeX. 4 | * 5 | * @author Hakim El Hattab 6 | * @author Gerhard Burger 7 | */ 8 | export const KaTeX = () => { 9 | let deck; 10 | 11 | let defaultOptions = { 12 | version: 'latest', 13 | delimiters: [ 14 | {left: '$$', right: '$$', display: true}, // Note: $$ has to come before $ 15 | {left: '$', right: '$', display: false}, 16 | {left: '\\(', right: '\\)', display: false}, 17 | {left: '\\[', right: '\\]', display: true} 18 | ], 19 | ignoredTags: ['script', 'noscript', 'style', 'textarea', 'pre'] 20 | } 21 | 22 | const loadCss = src => { 23 | let link = document.createElement('link'); 24 | link.rel = 'stylesheet'; 25 | link.href = src; 26 | document.head.appendChild(link); 27 | }; 28 | 29 | /** 30 | * Loads a JavaScript file and returns a Promise for when it is loaded 31 | * Credits: https://aaronsmith.online/easily-load-an-external-script-using-javascript/ 32 | */ 33 | const loadScript = src => { 34 | return new Promise((resolve, reject) => { 35 | const script = document.createElement('script') 36 | script.type = 'text/javascript' 37 | script.onload = resolve 38 | script.onerror = reject 39 | script.src = src 40 | document.head.append(script) 41 | }) 42 | }; 43 | 44 | async function loadScripts(urls) { 45 | for(const url of urls) { 46 | await loadScript(url); 47 | } 48 | } 49 | 50 | return { 51 | id: 'katex', 52 | 53 | init: function (reveal) { 54 | 55 | deck = reveal; 56 | 57 | let revealOptions = deck.getConfig().katex || {}; 58 | 59 | let options = {...defaultOptions, ...revealOptions}; 60 | const {local, version, extensions, ...katexOptions} = options; 61 | 62 | let baseUrl = options.local || 'https://cdn.jsdelivr.net/npm/katex'; 63 | let versionString = options.local ? '' : '@' + options.version; 64 | 65 | let cssUrl = baseUrl + versionString + '/dist/katex.min.css'; 66 | let katexUrl = baseUrl + versionString + '/dist/katex.min.js'; 67 | let mhchemUrl = baseUrl + versionString + '/dist/contrib/mhchem.min.js' 68 | let karUrl = baseUrl + versionString + '/dist/contrib/auto-render.min.js'; 69 | 70 | let katexScripts = [katexUrl]; 71 | if(options.extensions && options.extensions.includes("mhchem")) { 72 | katexScripts.push(mhchemUrl); 73 | } 74 | katexScripts.push(karUrl); 75 | 76 | const renderMath = () => { 77 | renderMathInElement(reveal.getSlidesElement(), katexOptions); 78 | deck.layout(); 79 | } 80 | 81 | loadCss(cssUrl); 82 | 83 | // For some reason dynamically loading with defer attribute doesn't result in the expected behavior, the below code does 84 | loadScripts(katexScripts).then(() => { 85 | if( deck.isReady() ) { 86 | renderMath(); 87 | } 88 | else { 89 | deck.on( 'ready', renderMath.bind( this ) ); 90 | } 91 | }); 92 | 93 | } 94 | } 95 | 96 | }; 97 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/math/mathjax2.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax. 4 | * 5 | * @author Hakim El Hattab 6 | */ 7 | export const MathJax2 = () => { 8 | 9 | // The reveal.js instance this plugin is attached to 10 | let deck; 11 | 12 | let defaultOptions = { 13 | messageStyle: 'none', 14 | tex2jax: { 15 | inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ], 16 | skipTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ] 17 | }, 18 | skipStartupTypeset: true 19 | }; 20 | 21 | function loadScript( url, callback ) { 22 | 23 | let head = document.querySelector( 'head' ); 24 | let script = document.createElement( 'script' ); 25 | script.type = 'text/javascript'; 26 | script.src = url; 27 | 28 | // Wrapper for callback to make sure it only fires once 29 | let finish = () => { 30 | if( typeof callback === 'function' ) { 31 | callback.call(); 32 | callback = null; 33 | } 34 | } 35 | 36 | script.onload = finish; 37 | 38 | // IE 39 | script.onreadystatechange = () => { 40 | if ( this.readyState === 'loaded' ) { 41 | finish(); 42 | } 43 | } 44 | 45 | // Normal browsers 46 | head.appendChild( script ); 47 | 48 | } 49 | 50 | return { 51 | id: 'mathjax2', 52 | 53 | init: function( reveal ) { 54 | 55 | deck = reveal; 56 | 57 | let revealOptions = deck.getConfig().mathjax2 || deck.getConfig().math || {}; 58 | 59 | let options = { ...defaultOptions, ...revealOptions }; 60 | let mathjax = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js'; 61 | let config = options.config || 'TeX-AMS_HTML-full'; 62 | let url = mathjax + '?config=' + config; 63 | 64 | options.tex2jax = { ...defaultOptions.tex2jax, ...revealOptions.tex2jax }; 65 | 66 | options.mathjax = options.config = null; 67 | 68 | loadScript( url, function() { 69 | 70 | MathJax.Hub.Config( options ); 71 | 72 | // Typeset followed by an immediate reveal.js layout since 73 | // the typesetting process could affect slide height 74 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, deck.getRevealElement() ] ); 75 | MathJax.Hub.Queue( deck.layout ); 76 | 77 | // Reprocess equations in slides when they turn visible 78 | deck.on( 'slidechanged', function( event ) { 79 | 80 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] ); 81 | 82 | } ); 83 | 84 | } ); 85 | 86 | } 87 | } 88 | 89 | }; 90 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/math/mathjax3.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax 3 4 | * 5 | * @author Hakim El Hattab 6 | * @author Gerhard Burger 7 | */ 8 | export const MathJax3 = () => { 9 | 10 | // The reveal.js instance this plugin is attached to 11 | let deck; 12 | 13 | let defaultOptions = { 14 | tex: { 15 | inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ] 16 | }, 17 | options: { 18 | skipHtmlTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ] 19 | }, 20 | startup: { 21 | ready: () => { 22 | MathJax.startup.defaultReady(); 23 | MathJax.startup.promise.then(() => { 24 | Reveal.layout(); 25 | }); 26 | } 27 | } 28 | }; 29 | 30 | function loadScript( url, callback ) { 31 | 32 | let script = document.createElement( 'script' ); 33 | script.type = "text/javascript" 34 | script.id = "MathJax-script" 35 | script.src = url; 36 | script.async = true 37 | 38 | // Wrapper for callback to make sure it only fires once 39 | script.onload = () => { 40 | if (typeof callback === 'function') { 41 | callback.call(); 42 | callback = null; 43 | } 44 | }; 45 | 46 | document.head.appendChild( script ); 47 | 48 | } 49 | 50 | return { 51 | id: 'mathjax3', 52 | init: function(reveal) { 53 | 54 | deck = reveal; 55 | 56 | let revealOptions = deck.getConfig().mathjax3 || {}; 57 | let options = {...defaultOptions, ...revealOptions}; 58 | options.tex = {...defaultOptions.tex, ...revealOptions.tex} 59 | options.options = {...options.options, ...defaultOptions.options} 60 | options.startup = {...defaultOptions.startup, ...revealOptions.startup} 61 | 62 | let url = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'; 63 | options.mathjax = null; 64 | 65 | window.MathJax = options; 66 | 67 | loadScript( url, function() { 68 | // Reprocess equations in slides when they turn visible 69 | Reveal.addEventListener( 'slidechanged', function( event ) { 70 | MathJax.typeset(); 71 | } ); 72 | } ); 73 | 74 | } 75 | } 76 | 77 | }; 78 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/math/plugin.js: -------------------------------------------------------------------------------- 1 | import {KaTeX} from "./katex"; 2 | import {MathJax2} from "./mathjax2"; 3 | import {MathJax3} from "./mathjax3"; 4 | 5 | const defaultTypesetter = MathJax2; 6 | 7 | /*! 8 | * This plugin is a wrapper for the MathJax2, 9 | * MathJax3 and KaTeX typesetter plugins. 10 | */ 11 | export default Plugin = Object.assign( defaultTypesetter(), { 12 | KaTeX, 13 | MathJax2, 14 | MathJax3 15 | } ); -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/pdf-export/pdfexport.js: -------------------------------------------------------------------------------- 1 | var PdfExport = ( function( _Reveal ){ 2 | 3 | var Reveal = _Reveal; 4 | var setStylesheet = null; 5 | var installAltKeyBindings = null; 6 | 7 | function getRevealJsPath(){ 8 | var regex = /\b[^/]+\/reveal.css$/i; 9 | var script = Array.from( document.querySelectorAll( 'link' ) ).find( function( e ){ 10 | return e.attributes.href && e.attributes.href.value.search( regex ) >= 0; 11 | }); 12 | if( !script ){ 13 | console.error( 'reveal.css could not be found in included elements. Did you rename this file?' ); 14 | return ''; 15 | } 16 | return script.attributes.href.value.replace( regex, '' ); 17 | } 18 | 19 | function setStylesheet3( pdfExport ){ 20 | var link = document.querySelector( '#print' ); 21 | if( !link ){ 22 | link = document.createElement( 'link' ); 23 | link.rel = 'stylesheet'; 24 | link.id = 'print'; 25 | document.querySelector( 'head' ).appendChild( link ); 26 | } 27 | var style = 'paper'; 28 | if( pdfExport ){ 29 | style = 'pdf'; 30 | } 31 | link.href = getRevealJsPath() + 'css/print/' + style + '.css'; 32 | } 33 | 34 | function setStylesheet4( pdfExport ){ 35 | } 36 | 37 | function installAltKeyBindings3(){ 38 | } 39 | 40 | function installAltKeyBindings4(){ 41 | if( isPrintingPDF() ){ 42 | var config = Reveal.getConfig(); 43 | var shortcut = config.pdfExportShortcut || 'E'; 44 | window.addEventListener( 'keydown', function( e ){ 45 | if( e.target.nodeName.toUpperCase() == 'BODY' 46 | && ( e.key.toUpperCase() == shortcut.toUpperCase() || e.keyCode == shortcut.toUpperCase().charCodeAt( 0 ) ) ){ 47 | e.preventDefault(); 48 | togglePdfExport(); 49 | return false; 50 | } 51 | }, true ); 52 | } 53 | } 54 | 55 | function isPrintingPDF(){ 56 | return ( /print-pdf/gi ).test( window.location.search ); 57 | } 58 | 59 | function togglePdfExport(){ 60 | var url_doc = new URL( document.URL ); 61 | var query_doc = new URLSearchParams( url_doc.searchParams ); 62 | if( isPrintingPDF() ){ 63 | query_doc.delete( 'print-pdf' ); 64 | }else{ 65 | query_doc.set( 'print-pdf', '' ); 66 | } 67 | url_doc.search = ( query_doc.toString() ? '?' + query_doc.toString() : '' ); 68 | window.location.href = url_doc.toString(); 69 | } 70 | 71 | function installKeyBindings(){ 72 | var config = Reveal.getConfig(); 73 | var shortcut = config.pdfExportShortcut || 'E'; 74 | Reveal.addKeyBinding({ 75 | keyCode: shortcut.toUpperCase().charCodeAt( 0 ), 76 | key: shortcut.toUpperCase(), 77 | description: 'PDF export mode' 78 | }, togglePdfExport ); 79 | installAltKeyBindings(); 80 | } 81 | 82 | function install(){ 83 | installKeyBindings(); 84 | setStylesheet( isPrintingPDF() ); 85 | } 86 | 87 | var Plugin = { 88 | } 89 | 90 | if( Reveal && Reveal.VERSION && Reveal.VERSION.length && Reveal.VERSION[ 0 ] == '3' ){ 91 | // reveal 3.x 92 | setStylesheet = setStylesheet3; 93 | installAltKeyBindings = installAltKeyBindings3; 94 | install(); 95 | }else{ 96 | // must be reveal 4.x 97 | setStylesheet = setStylesheet4; 98 | installAltKeyBindings = installAltKeyBindings4; 99 | Plugin.id = 'pdf-export'; 100 | Plugin.init = function( _Reveal ){ 101 | Reveal = _Reveal; 102 | install(); 103 | }; 104 | } 105 | 106 | return Plugin; 107 | 108 | })( Reveal ); 109 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/pdf-export/plugin.yml: -------------------------------------------------------------------------------- 1 | name: PdfExport 2 | script: pdfexport.js 3 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/quarto-line-highlight/line-highlight.css: -------------------------------------------------------------------------------- 1 | .reveal 2 | div.sourceCode 3 | pre 4 | code.has-line-highlights 5 | > span:not(.highlight-line) { 6 | opacity: 0.4; 7 | } 8 | 9 | .reveal pre.numberSource { 10 | padding-left: 0; 11 | } 12 | 13 | .reveal pre.numberSource code > span { 14 | left: -2.1em; 15 | } 16 | 17 | pre.numberSource code > span > a:first-child::before { 18 | left: -0.7em; 19 | } 20 | 21 | .reveal pre > code:not(:first-child).fragment { 22 | position: absolute; 23 | top: 0; 24 | left: 0; 25 | width: 100%; 26 | box-sizing: border-box; 27 | } 28 | 29 | .reveal div.sourceCode pre code { 30 | min-height: 100%; 31 | } 32 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/quarto-line-highlight/plugin.yml: -------------------------------------------------------------------------------- 1 | # adapted from https://github.com/hakimel/reveal.js/tree/master/plugin/highlight 2 | name: QuartoLineHighlight 3 | script: line-highlight.js 4 | stylesheet: line-highlight.css 5 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/quarto-support/footer.css: -------------------------------------------------------------------------------- 1 | .reveal .slide-logo { 2 | display: block; 3 | position: fixed; 4 | bottom: 0; 5 | right: 12px; 6 | max-height: 2.2rem; 7 | height: 100%; 8 | width: auto; 9 | } 10 | 11 | .reveal .footer { 12 | display: block; 13 | position: fixed; 14 | bottom: 18px; 15 | width: 100%; 16 | margin: 0 auto; 17 | text-align: center; 18 | font-size: 18px; 19 | z-index: 2; 20 | } 21 | 22 | .reveal .footer > * { 23 | margin-top: 0; 24 | margin-bottom: 0; 25 | } 26 | 27 | .reveal .slide .footer { 28 | display: none; 29 | } 30 | 31 | .reveal .slide-number { 32 | bottom: 10px; 33 | right: 10px; 34 | font-size: 16px; 35 | background-color: transparent; 36 | } 37 | 38 | .reveal.has-logo .slide-number { 39 | bottom: initial; 40 | top: 8px; 41 | right: 8px; 42 | } 43 | 44 | .reveal .slide-number .slide-number-delimiter { 45 | margin: 0; 46 | } 47 | 48 | .reveal .slide-menu-button { 49 | left: 8px; 50 | bottom: 8px; 51 | } 52 | 53 | .reveal .slide-chalkboard-buttons { 54 | position: fixed; 55 | left: 12px; 56 | bottom: 8px; 57 | z-index: 30; 58 | font-size: 24px; 59 | } 60 | 61 | .reveal .slide-chalkboard-buttons.slide-menu-offset { 62 | left: 54px; 63 | } 64 | 65 | .reveal .slide-chalkboard-buttons > span { 66 | margin-right: 14px; 67 | cursor: pointer; 68 | } 69 | 70 | @media screen and (max-width: 800px) { 71 | .reveal .slide-logo { 72 | max-height: 1.1rem; 73 | bottom: -2px; 74 | right: 10px; 75 | } 76 | .reveal .footer { 77 | font-size: 14px; 78 | bottom: 12px; 79 | } 80 | .reveal .slide-number { 81 | font-size: 12px; 82 | bottom: 7px; 83 | } 84 | .reveal .slide-menu-button .fas::before { 85 | height: 1.3rem; 86 | width: 1.3rem; 87 | vertical-align: -0.125em; 88 | background-size: 1.3rem 1.3rem; 89 | } 90 | 91 | .reveal .slide-chalkboard-buttons .fas::before { 92 | height: 0.95rem; 93 | width: 0.95rem; 94 | background-size: 0.95rem 0.95rem; 95 | vertical-align: -0em; 96 | } 97 | 98 | .reveal .slide-chalkboard-buttons.slide-menu-offset { 99 | left: 36px; 100 | } 101 | .reveal .slide-chalkboard-buttons > span { 102 | margin-right: 9px; 103 | } 104 | } 105 | 106 | html.print-pdf .reveal .slide-menu-button, 107 | html.print-pdf .reveal .slide-chalkboard-buttons { 108 | display: none; 109 | } 110 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/quarto-support/plugin.yml: -------------------------------------------------------------------------------- 1 | name: QuartoSupport 2 | script: support.js 3 | stylesheet: footer.css 4 | config: 5 | smaller: false 6 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/reveal-menu/plugin.yml: -------------------------------------------------------------------------------- 1 | name: RevealMenu 2 | script: [menu.js, quarto-menu.js] 3 | stylesheet: [menu.css, quarto-menu.css] 4 | config: 5 | menu: 6 | side: "left" 7 | useTextContentForMissingTitles: true 8 | markers: false 9 | loadIcons: false 10 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/reveal-menu/quarto-menu.js: -------------------------------------------------------------------------------- 1 | window.revealMenuToolHandler = function (handler) { 2 | return function (event) { 3 | event.preventDefault(); 4 | handler(); 5 | Reveal.getPlugin("menu").closeMenu(); 6 | }; 7 | }; 8 | 9 | window.RevealMenuToolHandlers = { 10 | fullscreen: revealMenuToolHandler(function () { 11 | const element = document.documentElement; 12 | const requestMethod = 13 | element.requestFullscreen || 14 | element.webkitRequestFullscreen || 15 | element.webkitRequestFullScreen || 16 | element.mozRequestFullScreen || 17 | element.msRequestFullscreen; 18 | if (requestMethod) { 19 | requestMethod.apply(element); 20 | } 21 | }), 22 | speakerMode: revealMenuToolHandler(function () { 23 | Reveal.getPlugin("notes").open(); 24 | }), 25 | keyboardHelp: revealMenuToolHandler(function () { 26 | Reveal.toggleHelp(true); 27 | }), 28 | overview: revealMenuToolHandler(function () { 29 | Reveal.toggleOverview(true); 30 | }), 31 | toggleChalkboard: revealMenuToolHandler(function () { 32 | RevealChalkboard.toggleChalkboard(); 33 | }), 34 | toggleNotesCanvas: revealMenuToolHandler(function () { 35 | RevealChalkboard.toggleNotesCanvas(); 36 | }), 37 | downloadDrawings: revealMenuToolHandler(function () { 38 | RevealChalkboard.download(); 39 | }), 40 | }; 41 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/zoom/zoom.esm.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * reveal.js Zoom plugin 3 | */ 4 | var e={id:"zoom",init:function(e){e.getRevealElement().addEventListener("mousedown",(function(o){var n=/Linux/.test(window.navigator.platform)?"ctrl":"alt",i=(e.getConfig().zoomKey?e.getConfig().zoomKey:n)+"Key",d=e.getConfig().zoomLevel?e.getConfig().zoomLevel:2;o[i]&&!e.isOverview()&&(o.preventDefault(),t.to({x:o.clientX,y:o.clientY,scale:d,pan:!1}))}))}},t=function(){var e=1,o=0,n=0,i=-1,d=-1,s="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style;function r(t,o){var n=y();if(t.width=t.width||1,t.height=t.height||1,t.x-=(window.innerWidth-t.width*o)/2,t.y-=(window.innerHeight-t.height*o)/2,s)if(1===o)document.body.style.transform="",document.body.style.OTransform="",document.body.style.msTransform="",document.body.style.MozTransform="",document.body.style.WebkitTransform="";else{var i=n.x+"px "+n.y+"px",d="translate("+-t.x+"px,"+-t.y+"px) scale("+o+")";document.body.style.transformOrigin=i,document.body.style.OTransformOrigin=i,document.body.style.msTransformOrigin=i,document.body.style.MozTransformOrigin=i,document.body.style.WebkitTransformOrigin=i,document.body.style.transform=d,document.body.style.OTransform=d,document.body.style.msTransform=d,document.body.style.MozTransform=d,document.body.style.WebkitTransform=d}else 1===o?(document.body.style.position="",document.body.style.left="",document.body.style.top="",document.body.style.width="",document.body.style.height="",document.body.style.zoom=""):(document.body.style.position="relative",document.body.style.left=-(n.x+t.x)/o+"px",document.body.style.top=-(n.y+t.y)/o+"px",document.body.style.width=100*o+"%",document.body.style.height=100*o+"%",document.body.style.zoom=o);e=o,document.documentElement.classList&&(1!==e?document.documentElement.classList.add("zoomed"):document.documentElement.classList.remove("zoomed"))}function m(){var t=.12*window.innerWidth,i=.12*window.innerHeight,d=y();nwindow.innerHeight-i&&window.scroll(d.x,d.y+(1-(window.innerHeight-n)/i)*(14/e)),owindow.innerWidth-t&&window.scroll(d.x+(1-(window.innerWidth-o)/t)*(14/e),d.y)}function y(){return{x:void 0!==window.scrollX?window.scrollX:window.pageXOffset,y:void 0!==window.scrollY?window.scrollY:window.pageYOffset}}return s&&(document.body.style.transition="transform 0.8s ease",document.body.style.OTransition="-o-transform 0.8s ease",document.body.style.msTransition="-ms-transform 0.8s ease",document.body.style.MozTransition="-moz-transform 0.8s ease",document.body.style.WebkitTransition="-webkit-transform 0.8s ease"),document.addEventListener("keyup",(function(o){1!==e&&27===o.keyCode&&t.out()})),document.addEventListener("mousemove",(function(t){1!==e&&(o=t.clientX,n=t.clientY)})),{to:function(o){if(1!==e)t.out();else{if(o.x=o.x||0,o.y=o.y||0,o.element){var n=o.element.getBoundingClientRect();o.x=n.left-20,o.y=n.top-20,o.width=n.width+40,o.height=n.height+40}void 0!==o.width&&void 0!==o.height&&(o.scale=Math.max(Math.min(window.innerWidth/o.width,window.innerHeight/o.height),1)),o.scale>1&&(o.x*=o.scale,o.y*=o.scale,r(o,o.scale),!1!==o.pan&&(i=setTimeout((function(){d=setInterval(m,1e3/60)}),800)))}},out:function(){clearTimeout(i),clearInterval(d),r({x:0,y:0},1),e=1},magnify:function(e){this.to(e)},reset:function(){this.out()},zoomLevel:function(){return e}}}();export default function(){return e} 5 | -------------------------------------------------------------------------------- /_freeze/materials/1-welcome-to-quarto/slides/welcome-to-quarto/libs/revealjs/plugin/zoom/zoom.js: -------------------------------------------------------------------------------- 1 | !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).RevealZoom=o()}(this,(function(){"use strict"; 2 | /*! 3 | * reveal.js Zoom plugin 4 | */var e={id:"zoom",init:function(e){e.getRevealElement().addEventListener("mousedown",(function(t){var n=/Linux/.test(window.navigator.platform)?"ctrl":"alt",i=(e.getConfig().zoomKey?e.getConfig().zoomKey:n)+"Key",d=e.getConfig().zoomLevel?e.getConfig().zoomLevel:2;t[i]&&!e.isOverview()&&(t.preventDefault(),o.to({x:t.clientX,y:t.clientY,scale:d,pan:!1}))}))}},o=function(){var e=1,t=0,n=0,i=-1,d=-1,s="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style;function r(o,t){var n=l();if(o.width=o.width||1,o.height=o.height||1,o.x-=(window.innerWidth-o.width*t)/2,o.y-=(window.innerHeight-o.height*t)/2,s)if(1===t)document.body.style.transform="",document.body.style.OTransform="",document.body.style.msTransform="",document.body.style.MozTransform="",document.body.style.WebkitTransform="";else{var i=n.x+"px "+n.y+"px",d="translate("+-o.x+"px,"+-o.y+"px) scale("+t+")";document.body.style.transformOrigin=i,document.body.style.OTransformOrigin=i,document.body.style.msTransformOrigin=i,document.body.style.MozTransformOrigin=i,document.body.style.WebkitTransformOrigin=i,document.body.style.transform=d,document.body.style.OTransform=d,document.body.style.msTransform=d,document.body.style.MozTransform=d,document.body.style.WebkitTransform=d}else 1===t?(document.body.style.position="",document.body.style.left="",document.body.style.top="",document.body.style.width="",document.body.style.height="",document.body.style.zoom=""):(document.body.style.position="relative",document.body.style.left=-(n.x+o.x)/t+"px",document.body.style.top=-(n.y+o.y)/t+"px",document.body.style.width=100*t+"%",document.body.style.height=100*t+"%",document.body.style.zoom=t);e=t,document.documentElement.classList&&(1!==e?document.documentElement.classList.add("zoomed"):document.documentElement.classList.remove("zoomed"))}function m(){var o=.12*window.innerWidth,i=.12*window.innerHeight,d=l();nwindow.innerHeight-i&&window.scroll(d.x,d.y+(1-(window.innerHeight-n)/i)*(14/e)),twindow.innerWidth-o&&window.scroll(d.x+(1-(window.innerWidth-t)/o)*(14/e),d.y)}function l(){return{x:void 0!==window.scrollX?window.scrollX:window.pageXOffset,y:void 0!==window.scrollY?window.scrollY:window.pageYOffset}}return s&&(document.body.style.transition="transform 0.8s ease",document.body.style.OTransition="-o-transform 0.8s ease",document.body.style.msTransition="-ms-transform 0.8s ease",document.body.style.MozTransition="-moz-transform 0.8s ease",document.body.style.WebkitTransition="-webkit-transform 0.8s ease"),document.addEventListener("keyup",(function(t){1!==e&&27===t.keyCode&&o.out()})),document.addEventListener("mousemove",(function(o){1!==e&&(t=o.clientX,n=o.clientY)})),{to:function(t){if(1!==e)o.out();else{if(t.x=t.x||0,t.y=t.y||0,t.element){var n=t.element.getBoundingClientRect();t.x=n.left-20,t.y=n.top-20,t.width=n.width+40,t.height=n.height+40}void 0!==t.width&&void 0!==t.height&&(t.scale=Math.max(Math.min(window.innerWidth/t.width,window.innerHeight/t.height),1)),t.scale>1&&(t.x*=t.scale,t.y*=t.scale,r(t,t.scale),!1!==t.pan&&(i=setTimeout((function(){d=setInterval(m,1e3/60)}),800)))}},out:function(){clearTimeout(i),clearInterval(d),r({x:0,y:0},1),e=1},magnify:function(e){this.to(e)},reset:function(){this.out()},zoomLevel:function(){return e}}}();return function(){return e}})); 5 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/computation/execute-results/html.json: -------------------------------------------------------------------------------- 1 | { 2 | "hash": "bbae8c02fde62357ff589954482f3e56", 3 | "result": { 4 | "markdown": "---\ntitle: \"Computations\"\nsubtitle: \"rstudio::conf(2022)
From R Markdown to Quarto\"\nauthor: \"Andrew Bray\"\nformat:\n revealjs:\n theme: ../slides.scss\n css: ../tachyons.min.css\n multiplex: true\n transition: fade\n slide-number: true\n incremental: false \n center: false\n menu: false\n highlight-style: github\n progress: false\n code-overflow: wrap\n---\n\n# Code Blocks for Display\n\n## pandoc code cells\n\n# Code Blocks for Computing\n\n## Quarto syntax\n\n````markdown\n```{language}\n#| option1: value\n#| option2: value\n\ncode\n```\n````\n\n# Shiny\n\n\n\n\n## References and further reading {.smaller}\n\n- [Client Side Web Developent Ch. 5-7](https://info340.github.io/css.html): approachable and concise introduction to how CSS work.\n- [](): \n- https://patents.google.com/patent/US3811677A/en?q=stilts&oq=stilts\n- https://patents.google.com/patent/US6688257B2/en?q=pet+dog&oq=pet+dog\n\n", 5 | "supporting": [ 6 | "computation_files" 7 | ], 8 | "filters": [], 9 | "includes": {} 10 | } 11 | } -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/figure-revealjs/eg-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/figure-revealjs/eg-1-1.png -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/figure-revealjs/fig-eg-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/figure-revealjs/fig-eg-1-1.png -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/figure-revealjs/fig-polar-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/figure-revealjs/fig-polar-1.png -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/figure-revealjs/gg-ex-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/figure-revealjs/gg-ex-1.png -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/figure-revealjs/unnamed-chunk-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/figure-revealjs/unnamed-chunk-2-1.png -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/figure-revealjs/unnamed-chunk-3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/figure-revealjs/unnamed-chunk-3-1.png -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/figure-revealjs/unnamed-chunk-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/figure-revealjs/unnamed-chunk-4-1.png -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/quarto-html/quarto-html.min.css: -------------------------------------------------------------------------------- 1 | /*# sourceMappingURL=0a6b880beb84f9b6f36107a76f82c5b1.css.map */ 2 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/quarto-html/quarto-syntax-highlighting.css: -------------------------------------------------------------------------------- 1 | /* quarto syntax highlight colors */ 2 | :root { 3 | --quarto-hl-al-color: #ff5555; 4 | --quarto-hl-an-color: #6a737d; 5 | --quarto-hl-at-color: #d73a49; 6 | --quarto-hl-bn-color: #005cc5; 7 | --quarto-hl-bu-color: #d73a49; 8 | --quarto-hl-ch-color: #032f62; 9 | --quarto-hl-co-color: #6a737d; 10 | --quarto-hl-cv-color: #6a737d; 11 | --quarto-hl-cn-color: #005cc5; 12 | --quarto-hl-cf-color: #d73a49; 13 | --quarto-hl-dt-color: #d73a49; 14 | --quarto-hl-dv-color: #005cc5; 15 | --quarto-hl-do-color: #6a737d; 16 | --quarto-hl-er-color: #ff5555; 17 | --quarto-hl-ex-color: #d73a49; 18 | --quarto-hl-fl-color: #005cc5; 19 | --quarto-hl-fu-color: #6f42c1; 20 | --quarto-hl-im-color: #032f62; 21 | --quarto-hl-in-color: #6a737d; 22 | --quarto-hl-kw-color: #d73a49; 23 | --quarto-hl-op-color: #24292e; 24 | --quarto-hl-pp-color: #d73a49; 25 | --quarto-hl-re-color: #6a737d; 26 | --quarto-hl-sc-color: #005cc5; 27 | --quarto-hl-ss-color: #032f62; 28 | --quarto-hl-st-color: #032f62; 29 | --quarto-hl-va-color: #e36209; 30 | --quarto-hl-vs-color: #032f62; 31 | --quarto-hl-wa-color: #ff5555; 32 | } 33 | 34 | /* other quarto variables */ 35 | :root { 36 | --quarto-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 37 | } 38 | 39 | code span.al { 40 | font-weight: bold; 41 | color: #ff5555; 42 | } 43 | 44 | code span.an { 45 | color: #6a737d; 46 | } 47 | 48 | code span.at { 49 | color: #d73a49; 50 | } 51 | 52 | code span.bn { 53 | color: #005cc5; 54 | } 55 | 56 | code span.bu { 57 | color: #d73a49; 58 | } 59 | 60 | code span.ch { 61 | color: #032f62; 62 | } 63 | 64 | code span.co { 65 | color: #6a737d; 66 | } 67 | 68 | code span.cv { 69 | color: #6a737d; 70 | } 71 | 72 | code span.cn { 73 | color: #005cc5; 74 | } 75 | 76 | code span.cf { 77 | color: #d73a49; 78 | } 79 | 80 | code span.dt { 81 | color: #d73a49; 82 | } 83 | 84 | code span.dv { 85 | color: #005cc5; 86 | } 87 | 88 | code span.do { 89 | color: #6a737d; 90 | } 91 | 92 | code span.er { 93 | color: #ff5555; 94 | text-decoration: underline; 95 | } 96 | 97 | code span.ex { 98 | font-weight: bold; 99 | color: #d73a49; 100 | } 101 | 102 | code span.fl { 103 | color: #005cc5; 104 | } 105 | 106 | code span.fu { 107 | color: #6f42c1; 108 | } 109 | 110 | code span.im { 111 | color: #032f62; 112 | } 113 | 114 | code span.in { 115 | color: #6a737d; 116 | } 117 | 118 | code span.kw { 119 | color: #d73a49; 120 | } 121 | 122 | pre > code.sourceCode > span { 123 | color: #24292e; 124 | } 125 | 126 | code span { 127 | color: #24292e; 128 | } 129 | 130 | code.sourceCode > span { 131 | color: #24292e; 132 | } 133 | 134 | div.sourceCode, 135 | div.sourceCode pre.sourceCode { 136 | color: #24292e; 137 | } 138 | 139 | code span.op { 140 | color: #24292e; 141 | } 142 | 143 | code span.pp { 144 | color: #d73a49; 145 | } 146 | 147 | code span.re { 148 | color: #6a737d; 149 | } 150 | 151 | code span.sc { 152 | color: #005cc5; 153 | } 154 | 155 | code span.ss { 156 | color: #032f62; 157 | } 158 | 159 | code span.st { 160 | color: #032f62; 161 | } 162 | 163 | code span.va { 164 | color: #e36209; 165 | } 166 | 167 | code span.vs { 168 | color: #032f62; 169 | } 170 | 171 | code span.wa { 172 | color: #ff5555; 173 | } 174 | 175 | .prevent-inlining { 176 | content: ".tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1} -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/reset.css: -------------------------------------------------------------------------------- 1 | /* http://meyerweb.com/eric/tools/css/reset/ 2 | v4.0 | 20180602 3 | License: none (public domain) 4 | */ 5 | 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td, 15 | article, aside, canvas, details, embed, 16 | figure, figcaption, footer, header, hgroup, 17 | main, menu, nav, output, ruby, section, summary, 18 | time, mark, audio, video { 19 | margin: 0; 20 | padding: 0; 21 | border: 0; 22 | font-size: 100%; 23 | font: inherit; 24 | vertical-align: baseline; 25 | } 26 | /* HTML5 display-role reset for older browsers */ 27 | article, aside, details, figcaption, figure, 28 | footer, header, hgroup, main, menu, nav, section { 29 | display: block; 30 | } -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'League Gothic'; 3 | src: url('./league-gothic.eot'); 4 | src: url('./league-gothic.eot?#iefix') format('embedded-opentype'), 5 | url('./league-gothic.woff') format('woff'), 6 | url('./league-gothic.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Source Sans Pro'; 3 | src: url('./source-sans-pro-regular.eot'); 4 | src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), 5 | url('./source-sans-pro-regular.woff') format('woff'), 6 | url('./source-sans-pro-regular.ttf') format('truetype'); 7 | font-weight: normal; 8 | font-style: normal; 9 | } 10 | 11 | @font-face { 12 | font-family: 'Source Sans Pro'; 13 | src: url('./source-sans-pro-italic.eot'); 14 | src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), 15 | url('./source-sans-pro-italic.woff') format('woff'), 16 | url('./source-sans-pro-italic.ttf') format('truetype'); 17 | font-weight: normal; 18 | font-style: italic; 19 | } 20 | 21 | @font-face { 22 | font-family: 'Source Sans Pro'; 23 | src: url('./source-sans-pro-semibold.eot'); 24 | src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), 25 | url('./source-sans-pro-semibold.woff') format('woff'), 26 | url('./source-sans-pro-semibold.ttf') format('truetype'); 27 | font-weight: 600; 28 | font-style: normal; 29 | } 30 | 31 | @font-face { 32 | font-family: 'Source Sans Pro'; 33 | src: url('./source-sans-pro-semibolditalic.eot'); 34 | src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), 35 | url('./source-sans-pro-semibolditalic.woff') format('woff'), 36 | url('./source-sans-pro-semibolditalic.ttf') format('truetype'); 37 | font-weight: 600; 38 | font-style: italic; 39 | } 40 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/highlight/monokai.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #272822; 10 | color: #ddd; 11 | } 12 | 13 | .hljs-tag, 14 | .hljs-keyword, 15 | .hljs-selector-tag, 16 | .hljs-literal, 17 | .hljs-strong, 18 | .hljs-name { 19 | color: #f92672; 20 | } 21 | 22 | .hljs-code { 23 | color: #66d9ef; 24 | } 25 | 26 | .hljs-class .hljs-title { 27 | color: white; 28 | } 29 | 30 | .hljs-attribute, 31 | .hljs-symbol, 32 | .hljs-regexp, 33 | .hljs-link { 34 | color: #bf79db; 35 | } 36 | 37 | .hljs-string, 38 | .hljs-bullet, 39 | .hljs-subst, 40 | .hljs-title, 41 | .hljs-section, 42 | .hljs-emphasis, 43 | .hljs-type, 44 | .hljs-built_in, 45 | .hljs-builtin-name, 46 | .hljs-selector-attr, 47 | .hljs-selector-pseudo, 48 | .hljs-addition, 49 | .hljs-variable, 50 | .hljs-template-tag, 51 | .hljs-template-variable { 52 | color: #a6e22e; 53 | } 54 | 55 | .hljs-comment, 56 | .hljs-quote, 57 | .hljs-deletion, 58 | .hljs-meta { 59 | color: #75715e; 60 | } 61 | 62 | .hljs-keyword, 63 | .hljs-selector-tag, 64 | .hljs-literal, 65 | .hljs-doctag, 66 | .hljs-title, 67 | .hljs-section, 68 | .hljs-type, 69 | .hljs-selector-id { 70 | font-weight: bold; 71 | } 72 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/highlight/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #3f3f3f; 13 | color: #dcdcdc; 14 | } 15 | 16 | .hljs-keyword, 17 | .hljs-selector-tag, 18 | .hljs-tag { 19 | color: #e3ceab; 20 | } 21 | 22 | .hljs-template-tag { 23 | color: #dcdcdc; 24 | } 25 | 26 | .hljs-number { 27 | color: #8cd0d3; 28 | } 29 | 30 | .hljs-variable, 31 | .hljs-template-variable, 32 | .hljs-attribute { 33 | color: #efdcbc; 34 | } 35 | 36 | .hljs-literal { 37 | color: #efefaf; 38 | } 39 | 40 | .hljs-subst { 41 | color: #8f8f8f; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-name, 46 | .hljs-selector-id, 47 | .hljs-selector-class, 48 | .hljs-section, 49 | .hljs-type { 50 | color: #efef8f; 51 | } 52 | 53 | .hljs-symbol, 54 | .hljs-bullet, 55 | .hljs-link { 56 | color: #dca3a3; 57 | } 58 | 59 | .hljs-deletion, 60 | .hljs-string, 61 | .hljs-built_in, 62 | .hljs-builtin-name { 63 | color: #cc9393; 64 | } 65 | 66 | .hljs-addition, 67 | .hljs-comment, 68 | .hljs-quote, 69 | .hljs-meta { 70 | color: #7f9f7f; 71 | } 72 | 73 | 74 | .hljs-emphasis { 75 | font-style: italic; 76 | } 77 | 78 | .hljs-strong { 79 | font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/math/katex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for KaTeX. 4 | * 5 | * @author Hakim El Hattab 6 | * @author Gerhard Burger 7 | */ 8 | export const KaTeX = () => { 9 | let deck; 10 | 11 | let defaultOptions = { 12 | version: 'latest', 13 | delimiters: [ 14 | {left: '$$', right: '$$', display: true}, // Note: $$ has to come before $ 15 | {left: '$', right: '$', display: false}, 16 | {left: '\\(', right: '\\)', display: false}, 17 | {left: '\\[', right: '\\]', display: true} 18 | ], 19 | ignoredTags: ['script', 'noscript', 'style', 'textarea', 'pre'] 20 | } 21 | 22 | const loadCss = src => { 23 | let link = document.createElement('link'); 24 | link.rel = 'stylesheet'; 25 | link.href = src; 26 | document.head.appendChild(link); 27 | }; 28 | 29 | /** 30 | * Loads a JavaScript file and returns a Promise for when it is loaded 31 | * Credits: https://aaronsmith.online/easily-load-an-external-script-using-javascript/ 32 | */ 33 | const loadScript = src => { 34 | return new Promise((resolve, reject) => { 35 | const script = document.createElement('script') 36 | script.type = 'text/javascript' 37 | script.onload = resolve 38 | script.onerror = reject 39 | script.src = src 40 | document.head.append(script) 41 | }) 42 | }; 43 | 44 | async function loadScripts(urls) { 45 | for(const url of urls) { 46 | await loadScript(url); 47 | } 48 | } 49 | 50 | return { 51 | id: 'katex', 52 | 53 | init: function (reveal) { 54 | 55 | deck = reveal; 56 | 57 | let revealOptions = deck.getConfig().katex || {}; 58 | 59 | let options = {...defaultOptions, ...revealOptions}; 60 | const {local, version, extensions, ...katexOptions} = options; 61 | 62 | let baseUrl = options.local || 'https://cdn.jsdelivr.net/npm/katex'; 63 | let versionString = options.local ? '' : '@' + options.version; 64 | 65 | let cssUrl = baseUrl + versionString + '/dist/katex.min.css'; 66 | let katexUrl = baseUrl + versionString + '/dist/katex.min.js'; 67 | let mhchemUrl = baseUrl + versionString + '/dist/contrib/mhchem.min.js' 68 | let karUrl = baseUrl + versionString + '/dist/contrib/auto-render.min.js'; 69 | 70 | let katexScripts = [katexUrl]; 71 | if(options.extensions && options.extensions.includes("mhchem")) { 72 | katexScripts.push(mhchemUrl); 73 | } 74 | katexScripts.push(karUrl); 75 | 76 | const renderMath = () => { 77 | renderMathInElement(reveal.getSlidesElement(), katexOptions); 78 | deck.layout(); 79 | } 80 | 81 | loadCss(cssUrl); 82 | 83 | // For some reason dynamically loading with defer attribute doesn't result in the expected behavior, the below code does 84 | loadScripts(katexScripts).then(() => { 85 | if( deck.isReady() ) { 86 | renderMath(); 87 | } 88 | else { 89 | deck.on( 'ready', renderMath.bind( this ) ); 90 | } 91 | }); 92 | 93 | } 94 | } 95 | 96 | }; 97 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/math/mathjax2.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax. 4 | * 5 | * @author Hakim El Hattab 6 | */ 7 | export const MathJax2 = () => { 8 | 9 | // The reveal.js instance this plugin is attached to 10 | let deck; 11 | 12 | let defaultOptions = { 13 | messageStyle: 'none', 14 | tex2jax: { 15 | inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ], 16 | skipTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ] 17 | }, 18 | skipStartupTypeset: true 19 | }; 20 | 21 | function loadScript( url, callback ) { 22 | 23 | let head = document.querySelector( 'head' ); 24 | let script = document.createElement( 'script' ); 25 | script.type = 'text/javascript'; 26 | script.src = url; 27 | 28 | // Wrapper for callback to make sure it only fires once 29 | let finish = () => { 30 | if( typeof callback === 'function' ) { 31 | callback.call(); 32 | callback = null; 33 | } 34 | } 35 | 36 | script.onload = finish; 37 | 38 | // IE 39 | script.onreadystatechange = () => { 40 | if ( this.readyState === 'loaded' ) { 41 | finish(); 42 | } 43 | } 44 | 45 | // Normal browsers 46 | head.appendChild( script ); 47 | 48 | } 49 | 50 | return { 51 | id: 'mathjax2', 52 | 53 | init: function( reveal ) { 54 | 55 | deck = reveal; 56 | 57 | let revealOptions = deck.getConfig().mathjax2 || deck.getConfig().math || {}; 58 | 59 | let options = { ...defaultOptions, ...revealOptions }; 60 | let mathjax = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js'; 61 | let config = options.config || 'TeX-AMS_HTML-full'; 62 | let url = mathjax + '?config=' + config; 63 | 64 | options.tex2jax = { ...defaultOptions.tex2jax, ...revealOptions.tex2jax }; 65 | 66 | options.mathjax = options.config = null; 67 | 68 | loadScript( url, function() { 69 | 70 | MathJax.Hub.Config( options ); 71 | 72 | // Typeset followed by an immediate reveal.js layout since 73 | // the typesetting process could affect slide height 74 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, deck.getRevealElement() ] ); 75 | MathJax.Hub.Queue( deck.layout ); 76 | 77 | // Reprocess equations in slides when they turn visible 78 | deck.on( 'slidechanged', function( event ) { 79 | 80 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] ); 81 | 82 | } ); 83 | 84 | } ); 85 | 86 | } 87 | } 88 | 89 | }; 90 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/math/mathjax3.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax 3 4 | * 5 | * @author Hakim El Hattab 6 | * @author Gerhard Burger 7 | */ 8 | export const MathJax3 = () => { 9 | 10 | // The reveal.js instance this plugin is attached to 11 | let deck; 12 | 13 | let defaultOptions = { 14 | tex: { 15 | inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ] 16 | }, 17 | options: { 18 | skipHtmlTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ] 19 | }, 20 | startup: { 21 | ready: () => { 22 | MathJax.startup.defaultReady(); 23 | MathJax.startup.promise.then(() => { 24 | Reveal.layout(); 25 | }); 26 | } 27 | } 28 | }; 29 | 30 | function loadScript( url, callback ) { 31 | 32 | let script = document.createElement( 'script' ); 33 | script.type = "text/javascript" 34 | script.id = "MathJax-script" 35 | script.src = url; 36 | script.async = true 37 | 38 | // Wrapper for callback to make sure it only fires once 39 | script.onload = () => { 40 | if (typeof callback === 'function') { 41 | callback.call(); 42 | callback = null; 43 | } 44 | }; 45 | 46 | document.head.appendChild( script ); 47 | 48 | } 49 | 50 | return { 51 | id: 'mathjax3', 52 | init: function(reveal) { 53 | 54 | deck = reveal; 55 | 56 | let revealOptions = deck.getConfig().mathjax3 || {}; 57 | let options = {...defaultOptions, ...revealOptions}; 58 | options.tex = {...defaultOptions.tex, ...revealOptions.tex} 59 | options.options = {...options.options, ...defaultOptions.options} 60 | options.startup = {...defaultOptions.startup, ...revealOptions.startup} 61 | 62 | let url = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'; 63 | options.mathjax = null; 64 | 65 | window.MathJax = options; 66 | 67 | loadScript( url, function() { 68 | // Reprocess equations in slides when they turn visible 69 | Reveal.addEventListener( 'slidechanged', function( event ) { 70 | MathJax.typeset(); 71 | } ); 72 | } ); 73 | 74 | } 75 | } 76 | 77 | }; 78 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/math/plugin.js: -------------------------------------------------------------------------------- 1 | import {KaTeX} from "./katex"; 2 | import {MathJax2} from "./mathjax2"; 3 | import {MathJax3} from "./mathjax3"; 4 | 5 | const defaultTypesetter = MathJax2; 6 | 7 | /*! 8 | * This plugin is a wrapper for the MathJax2, 9 | * MathJax3 and KaTeX typesetter plugins. 10 | */ 11 | export default Plugin = Object.assign( defaultTypesetter(), { 12 | KaTeX, 13 | MathJax2, 14 | MathJax3 15 | } ); -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/multiplex/multiplex.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | // emulate async script load 4 | window.addEventListener( 'load', function() { 5 | var multiplex = Reveal.getConfig().multiplex; 6 | var socketId = multiplex.id; 7 | var socket = io.connect(multiplex.url); 8 | 9 | function post( evt ) { 10 | var messageData = { 11 | state: Reveal.getState(), 12 | secret: multiplex.secret, 13 | socketId: multiplex.id, 14 | content: (evt || {}).content 15 | }; 16 | socket.emit( 'multiplex-statechanged', messageData ); 17 | }; 18 | 19 | // master 20 | if (multiplex.secret !== null) { 21 | 22 | // Don't emit events from inside of notes windows 23 | if ( window.location.search.match( /receiver/gi ) ) { return; } 24 | 25 | // post once the page is loaded, so the client follows also on "open URL". 26 | post(); 27 | 28 | // Monitor events that trigger a change in state 29 | Reveal.on( 'slidechanged', post ); 30 | Reveal.on( 'fragmentshown', post ); 31 | Reveal.on( 'fragmenthidden', post ); 32 | Reveal.on( 'overviewhidden', post ); 33 | Reveal.on( 'overviewshown', post ); 34 | Reveal.on( 'paused', post ); 35 | Reveal.on( 'resumed', post ); 36 | document.addEventListener( 'send', post ); // broadcast custom events sent by other plugins 37 | 38 | // client 39 | } else { 40 | socket.on(multiplex.id, function(message) { 41 | // ignore data from sockets that aren't ours 42 | if (message.socketId !== socketId) { return; } 43 | if( window.location.host === 'localhost:1947' ) return; 44 | 45 | if ( message.state ) { 46 | Reveal.setState(message.state); 47 | } 48 | if ( message.content ) { 49 | // forward custom events to other plugins 50 | var event = new CustomEvent('received'); 51 | event.content = message.content; 52 | document.dispatchEvent( event ); 53 | } 54 | }); 55 | } 56 | }); 57 | }()); -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/multiplex/plugin.yml: -------------------------------------------------------------------------------- 1 | name: multiplex 2 | script: [socket.io.js, multiplex.js] 3 | register: false 4 | config: 5 | multiplex: 6 | secret: null 7 | id: null 8 | url: "https://reveal-multiplex.glitch.me/" 9 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/pdf-export/pdfexport.js: -------------------------------------------------------------------------------- 1 | var PdfExport = ( function( _Reveal ){ 2 | 3 | var Reveal = _Reveal; 4 | var setStylesheet = null; 5 | var installAltKeyBindings = null; 6 | 7 | function getRevealJsPath(){ 8 | var regex = /\b[^/]+\/reveal.css$/i; 9 | var script = Array.from( document.querySelectorAll( 'link' ) ).find( function( e ){ 10 | return e.attributes.href && e.attributes.href.value.search( regex ) >= 0; 11 | }); 12 | if( !script ){ 13 | console.error( 'reveal.css could not be found in included elements. Did you rename this file?' ); 14 | return ''; 15 | } 16 | return script.attributes.href.value.replace( regex, '' ); 17 | } 18 | 19 | function setStylesheet3( pdfExport ){ 20 | var link = document.querySelector( '#print' ); 21 | if( !link ){ 22 | link = document.createElement( 'link' ); 23 | link.rel = 'stylesheet'; 24 | link.id = 'print'; 25 | document.querySelector( 'head' ).appendChild( link ); 26 | } 27 | var style = 'paper'; 28 | if( pdfExport ){ 29 | style = 'pdf'; 30 | } 31 | link.href = getRevealJsPath() + 'css/print/' + style + '.css'; 32 | } 33 | 34 | function setStylesheet4( pdfExport ){ 35 | } 36 | 37 | function installAltKeyBindings3(){ 38 | } 39 | 40 | function installAltKeyBindings4(){ 41 | if( isPrintingPDF() ){ 42 | var config = Reveal.getConfig(); 43 | var shortcut = config.pdfExportShortcut || 'E'; 44 | window.addEventListener( 'keydown', function( e ){ 45 | if( e.target.nodeName.toUpperCase() == 'BODY' 46 | && ( e.key.toUpperCase() == shortcut.toUpperCase() || e.keyCode == shortcut.toUpperCase().charCodeAt( 0 ) ) ){ 47 | e.preventDefault(); 48 | togglePdfExport(); 49 | return false; 50 | } 51 | }, true ); 52 | } 53 | } 54 | 55 | function isPrintingPDF(){ 56 | return ( /print-pdf/gi ).test( window.location.search ); 57 | } 58 | 59 | function togglePdfExport(){ 60 | var url_doc = new URL( document.URL ); 61 | var query_doc = new URLSearchParams( url_doc.searchParams ); 62 | if( isPrintingPDF() ){ 63 | query_doc.delete( 'print-pdf' ); 64 | }else{ 65 | query_doc.set( 'print-pdf', '' ); 66 | } 67 | url_doc.search = ( query_doc.toString() ? '?' + query_doc.toString() : '' ); 68 | window.location.href = url_doc.toString(); 69 | } 70 | 71 | function installKeyBindings(){ 72 | var config = Reveal.getConfig(); 73 | var shortcut = config.pdfExportShortcut || 'E'; 74 | Reveal.addKeyBinding({ 75 | keyCode: shortcut.toUpperCase().charCodeAt( 0 ), 76 | key: shortcut.toUpperCase(), 77 | description: 'PDF export mode' 78 | }, togglePdfExport ); 79 | installAltKeyBindings(); 80 | } 81 | 82 | function install(){ 83 | installKeyBindings(); 84 | setStylesheet( isPrintingPDF() ); 85 | } 86 | 87 | var Plugin = { 88 | } 89 | 90 | if( Reveal && Reveal.VERSION && Reveal.VERSION.length && Reveal.VERSION[ 0 ] == '3' ){ 91 | // reveal 3.x 92 | setStylesheet = setStylesheet3; 93 | installAltKeyBindings = installAltKeyBindings3; 94 | install(); 95 | }else{ 96 | // must be reveal 4.x 97 | setStylesheet = setStylesheet4; 98 | installAltKeyBindings = installAltKeyBindings4; 99 | Plugin.id = 'pdf-export'; 100 | Plugin.init = function( _Reveal ){ 101 | Reveal = _Reveal; 102 | install(); 103 | }; 104 | } 105 | 106 | return Plugin; 107 | 108 | })( Reveal ); 109 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/pdf-export/plugin.yml: -------------------------------------------------------------------------------- 1 | name: PdfExport 2 | script: pdfexport.js 3 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/quarto-line-highlight/line-highlight.css: -------------------------------------------------------------------------------- 1 | .reveal 2 | div.sourceCode 3 | pre 4 | code.has-line-highlights 5 | > span:not(.highlight-line) { 6 | opacity: 0.4; 7 | } 8 | 9 | .reveal pre.numberSource { 10 | padding-left: 0; 11 | } 12 | 13 | .reveal pre.numberSource code > span { 14 | left: -2.1em; 15 | } 16 | 17 | pre.numberSource code > span > a:first-child::before { 18 | left: -0.7em; 19 | } 20 | 21 | .reveal pre > code:not(:first-child).fragment { 22 | position: absolute; 23 | top: 0; 24 | left: 0; 25 | width: 100%; 26 | box-sizing: border-box; 27 | } 28 | 29 | .reveal div.sourceCode pre code { 30 | min-height: 100%; 31 | } 32 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/quarto-line-highlight/plugin.yml: -------------------------------------------------------------------------------- 1 | # adapted from https://github.com/hakimel/reveal.js/tree/master/plugin/highlight 2 | name: QuartoLineHighlight 3 | script: line-highlight.js 4 | stylesheet: line-highlight.css 5 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/quarto-support/footer.css: -------------------------------------------------------------------------------- 1 | .reveal .slide-logo { 2 | display: block; 3 | position: fixed; 4 | bottom: 0; 5 | right: 12px; 6 | max-height: 2.2rem; 7 | height: 100%; 8 | width: auto; 9 | } 10 | 11 | .reveal .footer { 12 | display: block; 13 | position: fixed; 14 | bottom: 18px; 15 | width: 100%; 16 | margin: 0 auto; 17 | text-align: center; 18 | font-size: 18px; 19 | z-index: 2; 20 | } 21 | 22 | .reveal .footer > * { 23 | margin-top: 0; 24 | margin-bottom: 0; 25 | } 26 | 27 | .reveal .slide .footer { 28 | display: none; 29 | } 30 | 31 | .reveal .slide-number { 32 | bottom: 10px; 33 | right: 10px; 34 | font-size: 16px; 35 | background-color: transparent; 36 | } 37 | 38 | .reveal.has-logo .slide-number { 39 | bottom: initial; 40 | top: 8px; 41 | right: 8px; 42 | } 43 | 44 | .reveal .slide-number .slide-number-delimiter { 45 | margin: 0; 46 | } 47 | 48 | .reveal .slide-menu-button { 49 | left: 8px; 50 | bottom: 8px; 51 | } 52 | 53 | .reveal .slide-chalkboard-buttons { 54 | position: fixed; 55 | left: 12px; 56 | bottom: 8px; 57 | z-index: 30; 58 | font-size: 24px; 59 | } 60 | 61 | .reveal .slide-chalkboard-buttons.slide-menu-offset { 62 | left: 54px; 63 | } 64 | 65 | .reveal .slide-chalkboard-buttons > span { 66 | margin-right: 14px; 67 | cursor: pointer; 68 | } 69 | 70 | @media screen and (max-width: 800px) { 71 | .reveal .slide-logo { 72 | max-height: 1.1rem; 73 | bottom: -2px; 74 | right: 10px; 75 | } 76 | .reveal .footer { 77 | font-size: 14px; 78 | bottom: 12px; 79 | } 80 | .reveal .slide-number { 81 | font-size: 12px; 82 | bottom: 7px; 83 | } 84 | .reveal .slide-menu-button .fas::before { 85 | height: 1.3rem; 86 | width: 1.3rem; 87 | vertical-align: -0.125em; 88 | background-size: 1.3rem 1.3rem; 89 | } 90 | 91 | .reveal .slide-chalkboard-buttons .fas::before { 92 | height: 0.95rem; 93 | width: 0.95rem; 94 | background-size: 0.95rem 0.95rem; 95 | vertical-align: -0em; 96 | } 97 | 98 | .reveal .slide-chalkboard-buttons.slide-menu-offset { 99 | left: 36px; 100 | } 101 | .reveal .slide-chalkboard-buttons > span { 102 | margin-right: 9px; 103 | } 104 | } 105 | 106 | html.print-pdf .reveal .slide-menu-button, 107 | html.print-pdf .reveal .slide-chalkboard-buttons { 108 | display: none; 109 | } 110 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/quarto-support/plugin.yml: -------------------------------------------------------------------------------- 1 | name: QuartoSupport 2 | script: support.js 3 | stylesheet: footer.css 4 | config: 5 | smaller: false 6 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/reveal-menu/plugin.yml: -------------------------------------------------------------------------------- 1 | name: RevealMenu 2 | script: [menu.js, quarto-menu.js] 3 | stylesheet: [menu.css, quarto-menu.css] 4 | config: 5 | menu: 6 | side: "left" 7 | useTextContentForMissingTitles: true 8 | markers: false 9 | loadIcons: false 10 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/reveal-menu/quarto-menu.js: -------------------------------------------------------------------------------- 1 | window.revealMenuToolHandler = function (handler) { 2 | return function (event) { 3 | event.preventDefault(); 4 | handler(); 5 | Reveal.getPlugin("menu").closeMenu(); 6 | }; 7 | }; 8 | 9 | window.RevealMenuToolHandlers = { 10 | fullscreen: revealMenuToolHandler(function () { 11 | const element = document.documentElement; 12 | const requestMethod = 13 | element.requestFullscreen || 14 | element.webkitRequestFullscreen || 15 | element.webkitRequestFullScreen || 16 | element.mozRequestFullScreen || 17 | element.msRequestFullscreen; 18 | if (requestMethod) { 19 | requestMethod.apply(element); 20 | } 21 | }), 22 | speakerMode: revealMenuToolHandler(function () { 23 | Reveal.getPlugin("notes").open(); 24 | }), 25 | keyboardHelp: revealMenuToolHandler(function () { 26 | Reveal.toggleHelp(true); 27 | }), 28 | overview: revealMenuToolHandler(function () { 29 | Reveal.toggleOverview(true); 30 | }), 31 | toggleChalkboard: revealMenuToolHandler(function () { 32 | RevealChalkboard.toggleChalkboard(); 33 | }), 34 | toggleNotesCanvas: revealMenuToolHandler(function () { 35 | RevealChalkboard.toggleNotesCanvas(); 36 | }), 37 | downloadDrawings: revealMenuToolHandler(function () { 38 | RevealChalkboard.download(); 39 | }), 40 | }; 41 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/zoom/zoom.esm.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * reveal.js Zoom plugin 3 | */ 4 | var e={id:"zoom",init:function(e){e.getRevealElement().addEventListener("mousedown",(function(o){var n=/Linux/.test(window.navigator.platform)?"ctrl":"alt",i=(e.getConfig().zoomKey?e.getConfig().zoomKey:n)+"Key",d=e.getConfig().zoomLevel?e.getConfig().zoomLevel:2;o[i]&&!e.isOverview()&&(o.preventDefault(),t.to({x:o.clientX,y:o.clientY,scale:d,pan:!1}))}))}},t=function(){var e=1,o=0,n=0,i=-1,d=-1,s="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style;function r(t,o){var n=y();if(t.width=t.width||1,t.height=t.height||1,t.x-=(window.innerWidth-t.width*o)/2,t.y-=(window.innerHeight-t.height*o)/2,s)if(1===o)document.body.style.transform="",document.body.style.OTransform="",document.body.style.msTransform="",document.body.style.MozTransform="",document.body.style.WebkitTransform="";else{var i=n.x+"px "+n.y+"px",d="translate("+-t.x+"px,"+-t.y+"px) scale("+o+")";document.body.style.transformOrigin=i,document.body.style.OTransformOrigin=i,document.body.style.msTransformOrigin=i,document.body.style.MozTransformOrigin=i,document.body.style.WebkitTransformOrigin=i,document.body.style.transform=d,document.body.style.OTransform=d,document.body.style.msTransform=d,document.body.style.MozTransform=d,document.body.style.WebkitTransform=d}else 1===o?(document.body.style.position="",document.body.style.left="",document.body.style.top="",document.body.style.width="",document.body.style.height="",document.body.style.zoom=""):(document.body.style.position="relative",document.body.style.left=-(n.x+t.x)/o+"px",document.body.style.top=-(n.y+t.y)/o+"px",document.body.style.width=100*o+"%",document.body.style.height=100*o+"%",document.body.style.zoom=o);e=o,document.documentElement.classList&&(1!==e?document.documentElement.classList.add("zoomed"):document.documentElement.classList.remove("zoomed"))}function m(){var t=.12*window.innerWidth,i=.12*window.innerHeight,d=y();nwindow.innerHeight-i&&window.scroll(d.x,d.y+(1-(window.innerHeight-n)/i)*(14/e)),owindow.innerWidth-t&&window.scroll(d.x+(1-(window.innerWidth-o)/t)*(14/e),d.y)}function y(){return{x:void 0!==window.scrollX?window.scrollX:window.pageXOffset,y:void 0!==window.scrollY?window.scrollY:window.pageYOffset}}return s&&(document.body.style.transition="transform 0.8s ease",document.body.style.OTransition="-o-transform 0.8s ease",document.body.style.msTransition="-ms-transform 0.8s ease",document.body.style.MozTransition="-moz-transform 0.8s ease",document.body.style.WebkitTransition="-webkit-transform 0.8s ease"),document.addEventListener("keyup",(function(o){1!==e&&27===o.keyCode&&t.out()})),document.addEventListener("mousemove",(function(t){1!==e&&(o=t.clientX,n=t.clientY)})),{to:function(o){if(1!==e)t.out();else{if(o.x=o.x||0,o.y=o.y||0,o.element){var n=o.element.getBoundingClientRect();o.x=n.left-20,o.y=n.top-20,o.width=n.width+40,o.height=n.height+40}void 0!==o.width&&void 0!==o.height&&(o.scale=Math.max(Math.min(window.innerWidth/o.width,window.innerHeight/o.height),1)),o.scale>1&&(o.x*=o.scale,o.y*=o.scale,r(o,o.scale),!1!==o.pan&&(i=setTimeout((function(){d=setInterval(m,1e3/60)}),800)))}},out:function(){clearTimeout(i),clearInterval(d),r({x:0,y:0},1),e=1},magnify:function(e){this.to(e)},reset:function(){this.out()},zoomLevel:function(){return e}}}();export default function(){return e} 5 | -------------------------------------------------------------------------------- /_freeze/materials/3-computation/slides/computation/libs/revealjs/plugin/zoom/zoom.js: -------------------------------------------------------------------------------- 1 | !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).RevealZoom=o()}(this,(function(){"use strict"; 2 | /*! 3 | * reveal.js Zoom plugin 4 | */var e={id:"zoom",init:function(e){e.getRevealElement().addEventListener("mousedown",(function(t){var n=/Linux/.test(window.navigator.platform)?"ctrl":"alt",i=(e.getConfig().zoomKey?e.getConfig().zoomKey:n)+"Key",d=e.getConfig().zoomLevel?e.getConfig().zoomLevel:2;t[i]&&!e.isOverview()&&(t.preventDefault(),o.to({x:t.clientX,y:t.clientY,scale:d,pan:!1}))}))}},o=function(){var e=1,t=0,n=0,i=-1,d=-1,s="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style;function r(o,t){var n=l();if(o.width=o.width||1,o.height=o.height||1,o.x-=(window.innerWidth-o.width*t)/2,o.y-=(window.innerHeight-o.height*t)/2,s)if(1===t)document.body.style.transform="",document.body.style.OTransform="",document.body.style.msTransform="",document.body.style.MozTransform="",document.body.style.WebkitTransform="";else{var i=n.x+"px "+n.y+"px",d="translate("+-o.x+"px,"+-o.y+"px) scale("+t+")";document.body.style.transformOrigin=i,document.body.style.OTransformOrigin=i,document.body.style.msTransformOrigin=i,document.body.style.MozTransformOrigin=i,document.body.style.WebkitTransformOrigin=i,document.body.style.transform=d,document.body.style.OTransform=d,document.body.style.msTransform=d,document.body.style.MozTransform=d,document.body.style.WebkitTransform=d}else 1===t?(document.body.style.position="",document.body.style.left="",document.body.style.top="",document.body.style.width="",document.body.style.height="",document.body.style.zoom=""):(document.body.style.position="relative",document.body.style.left=-(n.x+o.x)/t+"px",document.body.style.top=-(n.y+o.y)/t+"px",document.body.style.width=100*t+"%",document.body.style.height=100*t+"%",document.body.style.zoom=t);e=t,document.documentElement.classList&&(1!==e?document.documentElement.classList.add("zoomed"):document.documentElement.classList.remove("zoomed"))}function m(){var o=.12*window.innerWidth,i=.12*window.innerHeight,d=l();nwindow.innerHeight-i&&window.scroll(d.x,d.y+(1-(window.innerHeight-n)/i)*(14/e)),twindow.innerWidth-o&&window.scroll(d.x+(1-(window.innerWidth-t)/o)*(14/e),d.y)}function l(){return{x:void 0!==window.scrollX?window.scrollX:window.pageXOffset,y:void 0!==window.scrollY?window.scrollY:window.pageYOffset}}return s&&(document.body.style.transition="transform 0.8s ease",document.body.style.OTransition="-o-transform 0.8s ease",document.body.style.msTransition="-ms-transform 0.8s ease",document.body.style.MozTransition="-moz-transform 0.8s ease",document.body.style.WebkitTransition="-webkit-transform 0.8s ease"),document.addEventListener("keyup",(function(t){1!==e&&27===t.keyCode&&o.out()})),document.addEventListener("mousemove",(function(o){1!==e&&(t=o.clientX,n=o.clientY)})),{to:function(t){if(1!==e)o.out();else{if(t.x=t.x||0,t.y=t.y||0,t.element){var n=t.element.getBoundingClientRect();t.x=n.left-20,t.y=n.top-20,t.width=n.width+40,t.height=n.height+40}void 0!==t.width&&void 0!==t.height&&(t.scale=Math.max(Math.min(window.innerWidth/t.width,window.innerHeight/t.height),1)),t.scale>1&&(t.x*=t.scale,t.y*=t.scale,r(t,t.scale),!1!==t.pan&&(i=setTimeout((function(){d=setInterval(m,1e3/60)}),800)))}},out:function(){clearTimeout(i),clearInterval(d),r({x:0,y:0},1),e=1},magnify:function(e){this.to(e)},reset:function(){this.out()},zoomLevel:function(){return e}}}();return function(){return e}})); 5 | -------------------------------------------------------------------------------- /_freeze/materials/3-computations/computations/execute-results/html.json: -------------------------------------------------------------------------------- 1 | { 2 | "hash": "bbae8c02fde62357ff589954482f3e56", 3 | "result": { 4 | "markdown": "---\ntitle: \"Computations\"\nsubtitle: \"rstudio::conf(2022)
From R Markdown to Quarto\"\nauthor: \"Andrew Bray\"\nformat:\n revealjs:\n theme: ../slides.scss\n css: ../tachyons.min.css\n multiplex: true\n transition: fade\n slide-number: true\n incremental: false \n center: false\n menu: false\n highlight-style: github\n progress: false\n code-overflow: wrap\n---\n\n# Code Blocks for Display\n\n## pandoc code cells\n\n# Code Blocks for Computing\n\n## Quarto syntax\n\n````markdown\n```{language}\n#| option1: value\n#| option2: value\n\ncode\n```\n````\n\n# Shiny\n\n\n\n\n## References and further reading {.smaller}\n\n- [Client Side Web Developent Ch. 5-7](https://info340.github.io/css.html): approachable and concise introduction to how CSS work.\n- [](): \n- https://patents.google.com/patent/US3811677A/en?q=stilts&oq=stilts\n- https://patents.google.com/patent/US6688257B2/en?q=pet+dog&oq=pet+dog\n\n", 5 | "supporting": [ 6 | "computations_files/figure-revealjs" 7 | ], 8 | "filters": [], 9 | "includes": {} 10 | } 11 | } -------------------------------------------------------------------------------- /_freeze/materials/index/execute-results/html.json: -------------------------------------------------------------------------------- 1 | { 2 | "hash": "83653b9e374064e3354cfe70072efb8e", 3 | "result": { 4 | "markdown": "---\ntitle: \"Materials\"\n---\n\n\n#### Configuration\n\nEach session of the workshop features exercises that will help you learn Quarto by doing. To prepare, please install the following on your machine:\n\n- If you haven't already, please [sign-up](https://happygitwithr.com/github-acct.html) for a free GitHub account.\n- Install latest version of [RStudio](https://www.rstudio.com/products/rstudio/download/#download), v2022.07.0-548 or later\n- Install latest version of [Quarto](https://quarto.org/docs/get-started/) (v1.0.36 or greater)\n- After installing Quarto, open the terminal in RStudio and:\n - See [this guide](https://support.rstudio.com/hc/en-us/articles/115010737148-Using-the-RStudio-Terminal-in-the-RStudio-IDE) for details on using the terminal\n - Install/Update TinyTeX for PDFs with `quarto install tool tinytex`\n - Install/Update Chromium with `quarto install tool chromium`\n- Ideally upgrade/use to R 4.1 or R 4.2\n- Install these R packages:\n \n\n ::: {.cell}\n \n ```{.r .cell-code}\n pkg_list <- c(\"tidyverse\", \"quarto\", \"rmarkdown\", \"palmerpenguins\")\n install.packages(pkg_list)\n ```\n :::", 5 | "supporting": [ 6 | "index_files" 7 | ], 8 | "filters": [ 9 | "rmarkdown/pagebreak.lua" 10 | ], 11 | "includes": {}, 12 | "engineDependencies": {}, 13 | "preserve": {}, 14 | "postProcess": true 15 | } 16 | } -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/reset.css: -------------------------------------------------------------------------------- 1 | /* http://meyerweb.com/eric/tools/css/reset/ 2 | v4.0 | 20180602 3 | License: none (public domain) 4 | */ 5 | 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td, 15 | article, aside, canvas, details, embed, 16 | figure, figcaption, footer, header, hgroup, 17 | main, menu, nav, output, ruby, section, summary, 18 | time, mark, audio, video { 19 | margin: 0; 20 | padding: 0; 21 | border: 0; 22 | font-size: 100%; 23 | font: inherit; 24 | vertical-align: baseline; 25 | } 26 | /* HTML5 display-role reset for older browsers */ 27 | article, aside, details, figcaption, figure, 28 | footer, header, hgroup, main, menu, nav, section { 29 | display: block; 30 | } -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'League Gothic'; 3 | src: url('./league-gothic.eot'); 4 | src: url('./league-gothic.eot?#iefix') format('embedded-opentype'), 5 | url('./league-gothic.woff') format('woff'), 6 | url('./league-gothic.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/dist/theme/fonts/source-sans-pro/source-sans-pro.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Source Sans Pro'; 3 | src: url('./source-sans-pro-regular.eot'); 4 | src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), 5 | url('./source-sans-pro-regular.woff') format('woff'), 6 | url('./source-sans-pro-regular.ttf') format('truetype'); 7 | font-weight: normal; 8 | font-style: normal; 9 | } 10 | 11 | @font-face { 12 | font-family: 'Source Sans Pro'; 13 | src: url('./source-sans-pro-italic.eot'); 14 | src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), 15 | url('./source-sans-pro-italic.woff') format('woff'), 16 | url('./source-sans-pro-italic.ttf') format('truetype'); 17 | font-weight: normal; 18 | font-style: italic; 19 | } 20 | 21 | @font-face { 22 | font-family: 'Source Sans Pro'; 23 | src: url('./source-sans-pro-semibold.eot'); 24 | src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), 25 | url('./source-sans-pro-semibold.woff') format('woff'), 26 | url('./source-sans-pro-semibold.ttf') format('truetype'); 27 | font-weight: 600; 28 | font-style: normal; 29 | } 30 | 31 | @font-face { 32 | font-family: 'Source Sans Pro'; 33 | src: url('./source-sans-pro-semibolditalic.eot'); 34 | src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), 35 | url('./source-sans-pro-semibolditalic.woff') format('woff'), 36 | url('./source-sans-pro-semibolditalic.ttf') format('truetype'); 37 | font-weight: 600; 38 | font-style: italic; 39 | } 40 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/highlight/monokai.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #272822; 10 | color: #ddd; 11 | } 12 | 13 | .hljs-tag, 14 | .hljs-keyword, 15 | .hljs-selector-tag, 16 | .hljs-literal, 17 | .hljs-strong, 18 | .hljs-name { 19 | color: #f92672; 20 | } 21 | 22 | .hljs-code { 23 | color: #66d9ef; 24 | } 25 | 26 | .hljs-class .hljs-title { 27 | color: white; 28 | } 29 | 30 | .hljs-attribute, 31 | .hljs-symbol, 32 | .hljs-regexp, 33 | .hljs-link { 34 | color: #bf79db; 35 | } 36 | 37 | .hljs-string, 38 | .hljs-bullet, 39 | .hljs-subst, 40 | .hljs-title, 41 | .hljs-section, 42 | .hljs-emphasis, 43 | .hljs-type, 44 | .hljs-built_in, 45 | .hljs-builtin-name, 46 | .hljs-selector-attr, 47 | .hljs-selector-pseudo, 48 | .hljs-addition, 49 | .hljs-variable, 50 | .hljs-template-tag, 51 | .hljs-template-variable { 52 | color: #a6e22e; 53 | } 54 | 55 | .hljs-comment, 56 | .hljs-quote, 57 | .hljs-deletion, 58 | .hljs-meta { 59 | color: #75715e; 60 | } 61 | 62 | .hljs-keyword, 63 | .hljs-selector-tag, 64 | .hljs-literal, 65 | .hljs-doctag, 66 | .hljs-title, 67 | .hljs-section, 68 | .hljs-type, 69 | .hljs-selector-id { 70 | font-weight: bold; 71 | } 72 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/highlight/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #3f3f3f; 13 | color: #dcdcdc; 14 | } 15 | 16 | .hljs-keyword, 17 | .hljs-selector-tag, 18 | .hljs-tag { 19 | color: #e3ceab; 20 | } 21 | 22 | .hljs-template-tag { 23 | color: #dcdcdc; 24 | } 25 | 26 | .hljs-number { 27 | color: #8cd0d3; 28 | } 29 | 30 | .hljs-variable, 31 | .hljs-template-variable, 32 | .hljs-attribute { 33 | color: #efdcbc; 34 | } 35 | 36 | .hljs-literal { 37 | color: #efefaf; 38 | } 39 | 40 | .hljs-subst { 41 | color: #8f8f8f; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-name, 46 | .hljs-selector-id, 47 | .hljs-selector-class, 48 | .hljs-section, 49 | .hljs-type { 50 | color: #efef8f; 51 | } 52 | 53 | .hljs-symbol, 54 | .hljs-bullet, 55 | .hljs-link { 56 | color: #dca3a3; 57 | } 58 | 59 | .hljs-deletion, 60 | .hljs-string, 61 | .hljs-built_in, 62 | .hljs-builtin-name { 63 | color: #cc9393; 64 | } 65 | 66 | .hljs-addition, 67 | .hljs-comment, 68 | .hljs-quote, 69 | .hljs-meta { 70 | color: #7f9f7f; 71 | } 72 | 73 | 74 | .hljs-emphasis { 75 | font-style: italic; 76 | } 77 | 78 | .hljs-strong { 79 | font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/math/katex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for KaTeX. 4 | * 5 | * @author Hakim El Hattab 6 | * @author Gerhard Burger 7 | */ 8 | export const KaTeX = () => { 9 | let deck; 10 | 11 | let defaultOptions = { 12 | version: 'latest', 13 | delimiters: [ 14 | {left: '$$', right: '$$', display: true}, // Note: $$ has to come before $ 15 | {left: '$', right: '$', display: false}, 16 | {left: '\\(', right: '\\)', display: false}, 17 | {left: '\\[', right: '\\]', display: true} 18 | ], 19 | ignoredTags: ['script', 'noscript', 'style', 'textarea', 'pre'] 20 | } 21 | 22 | const loadCss = src => { 23 | let link = document.createElement('link'); 24 | link.rel = 'stylesheet'; 25 | link.href = src; 26 | document.head.appendChild(link); 27 | }; 28 | 29 | /** 30 | * Loads a JavaScript file and returns a Promise for when it is loaded 31 | * Credits: https://aaronsmith.online/easily-load-an-external-script-using-javascript/ 32 | */ 33 | const loadScript = src => { 34 | return new Promise((resolve, reject) => { 35 | const script = document.createElement('script') 36 | script.type = 'text/javascript' 37 | script.onload = resolve 38 | script.onerror = reject 39 | script.src = src 40 | document.head.append(script) 41 | }) 42 | }; 43 | 44 | async function loadScripts(urls) { 45 | for(const url of urls) { 46 | await loadScript(url); 47 | } 48 | } 49 | 50 | return { 51 | id: 'katex', 52 | 53 | init: function (reveal) { 54 | 55 | deck = reveal; 56 | 57 | let revealOptions = deck.getConfig().katex || {}; 58 | 59 | let options = {...defaultOptions, ...revealOptions}; 60 | const {local, version, extensions, ...katexOptions} = options; 61 | 62 | let baseUrl = options.local || 'https://cdn.jsdelivr.net/npm/katex'; 63 | let versionString = options.local ? '' : '@' + options.version; 64 | 65 | let cssUrl = baseUrl + versionString + '/dist/katex.min.css'; 66 | let katexUrl = baseUrl + versionString + '/dist/katex.min.js'; 67 | let mhchemUrl = baseUrl + versionString + '/dist/contrib/mhchem.min.js' 68 | let karUrl = baseUrl + versionString + '/dist/contrib/auto-render.min.js'; 69 | 70 | let katexScripts = [katexUrl]; 71 | if(options.extensions && options.extensions.includes("mhchem")) { 72 | katexScripts.push(mhchemUrl); 73 | } 74 | katexScripts.push(karUrl); 75 | 76 | const renderMath = () => { 77 | renderMathInElement(reveal.getSlidesElement(), katexOptions); 78 | deck.layout(); 79 | } 80 | 81 | loadCss(cssUrl); 82 | 83 | // For some reason dynamically loading with defer attribute doesn't result in the expected behavior, the below code does 84 | loadScripts(katexScripts).then(() => { 85 | if( deck.isReady() ) { 86 | renderMath(); 87 | } 88 | else { 89 | deck.on( 'ready', renderMath.bind( this ) ); 90 | } 91 | }); 92 | 93 | } 94 | } 95 | 96 | }; 97 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/math/mathjax2.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax. 4 | * 5 | * @author Hakim El Hattab 6 | */ 7 | export const MathJax2 = () => { 8 | 9 | // The reveal.js instance this plugin is attached to 10 | let deck; 11 | 12 | let defaultOptions = { 13 | messageStyle: 'none', 14 | tex2jax: { 15 | inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ], 16 | skipTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ] 17 | }, 18 | skipStartupTypeset: true 19 | }; 20 | 21 | function loadScript( url, callback ) { 22 | 23 | let head = document.querySelector( 'head' ); 24 | let script = document.createElement( 'script' ); 25 | script.type = 'text/javascript'; 26 | script.src = url; 27 | 28 | // Wrapper for callback to make sure it only fires once 29 | let finish = () => { 30 | if( typeof callback === 'function' ) { 31 | callback.call(); 32 | callback = null; 33 | } 34 | } 35 | 36 | script.onload = finish; 37 | 38 | // IE 39 | script.onreadystatechange = () => { 40 | if ( this.readyState === 'loaded' ) { 41 | finish(); 42 | } 43 | } 44 | 45 | // Normal browsers 46 | head.appendChild( script ); 47 | 48 | } 49 | 50 | return { 51 | id: 'mathjax2', 52 | 53 | init: function( reveal ) { 54 | 55 | deck = reveal; 56 | 57 | let revealOptions = deck.getConfig().mathjax2 || deck.getConfig().math || {}; 58 | 59 | let options = { ...defaultOptions, ...revealOptions }; 60 | let mathjax = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js'; 61 | let config = options.config || 'TeX-AMS_HTML-full'; 62 | let url = mathjax + '?config=' + config; 63 | 64 | options.tex2jax = { ...defaultOptions.tex2jax, ...revealOptions.tex2jax }; 65 | 66 | options.mathjax = options.config = null; 67 | 68 | loadScript( url, function() { 69 | 70 | MathJax.Hub.Config( options ); 71 | 72 | // Typeset followed by an immediate reveal.js layout since 73 | // the typesetting process could affect slide height 74 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, deck.getRevealElement() ] ); 75 | MathJax.Hub.Queue( deck.layout ); 76 | 77 | // Reprocess equations in slides when they turn visible 78 | deck.on( 'slidechanged', function( event ) { 79 | 80 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] ); 81 | 82 | } ); 83 | 84 | } ); 85 | 86 | } 87 | } 88 | 89 | }; 90 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/math/mathjax3.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax 3 4 | * 5 | * @author Hakim El Hattab 6 | * @author Gerhard Burger 7 | */ 8 | export const MathJax3 = () => { 9 | 10 | // The reveal.js instance this plugin is attached to 11 | let deck; 12 | 13 | let defaultOptions = { 14 | tex: { 15 | inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ] 16 | }, 17 | options: { 18 | skipHtmlTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ] 19 | }, 20 | startup: { 21 | ready: () => { 22 | MathJax.startup.defaultReady(); 23 | MathJax.startup.promise.then(() => { 24 | Reveal.layout(); 25 | }); 26 | } 27 | } 28 | }; 29 | 30 | function loadScript( url, callback ) { 31 | 32 | let script = document.createElement( 'script' ); 33 | script.type = "text/javascript" 34 | script.id = "MathJax-script" 35 | script.src = url; 36 | script.async = true 37 | 38 | // Wrapper for callback to make sure it only fires once 39 | script.onload = () => { 40 | if (typeof callback === 'function') { 41 | callback.call(); 42 | callback = null; 43 | } 44 | }; 45 | 46 | document.head.appendChild( script ); 47 | 48 | } 49 | 50 | return { 51 | id: 'mathjax3', 52 | init: function(reveal) { 53 | 54 | deck = reveal; 55 | 56 | let revealOptions = deck.getConfig().mathjax3 || {}; 57 | let options = {...defaultOptions, ...revealOptions}; 58 | options.tex = {...defaultOptions.tex, ...revealOptions.tex} 59 | options.options = {...options.options, ...defaultOptions.options} 60 | options.startup = {...defaultOptions.startup, ...revealOptions.startup} 61 | 62 | let url = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'; 63 | options.mathjax = null; 64 | 65 | window.MathJax = options; 66 | 67 | loadScript( url, function() { 68 | // Reprocess equations in slides when they turn visible 69 | Reveal.addEventListener( 'slidechanged', function( event ) { 70 | MathJax.typeset(); 71 | } ); 72 | } ); 73 | 74 | } 75 | } 76 | 77 | }; 78 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/math/plugin.js: -------------------------------------------------------------------------------- 1 | import {KaTeX} from "./katex"; 2 | import {MathJax2} from "./mathjax2"; 3 | import {MathJax3} from "./mathjax3"; 4 | 5 | const defaultTypesetter = MathJax2; 6 | 7 | /*! 8 | * This plugin is a wrapper for the MathJax2, 9 | * MathJax3 and KaTeX typesetter plugins. 10 | */ 11 | export default Plugin = Object.assign( defaultTypesetter(), { 12 | KaTeX, 13 | MathJax2, 14 | MathJax3 15 | } ); -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/multiplex/multiplex.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | // emulate async script load 4 | window.addEventListener( 'load', function() { 5 | var multiplex = Reveal.getConfig().multiplex; 6 | var socketId = multiplex.id; 7 | var socket = io.connect(multiplex.url); 8 | 9 | function post( evt ) { 10 | var messageData = { 11 | state: Reveal.getState(), 12 | secret: multiplex.secret, 13 | socketId: multiplex.id, 14 | content: (evt || {}).content 15 | }; 16 | socket.emit( 'multiplex-statechanged', messageData ); 17 | }; 18 | 19 | // master 20 | if (multiplex.secret !== null) { 21 | 22 | // Don't emit events from inside of notes windows 23 | if ( window.location.search.match( /receiver/gi ) ) { return; } 24 | 25 | // post once the page is loaded, so the client follows also on "open URL". 26 | post(); 27 | 28 | // Monitor events that trigger a change in state 29 | Reveal.on( 'slidechanged', post ); 30 | Reveal.on( 'fragmentshown', post ); 31 | Reveal.on( 'fragmenthidden', post ); 32 | Reveal.on( 'overviewhidden', post ); 33 | Reveal.on( 'overviewshown', post ); 34 | Reveal.on( 'paused', post ); 35 | Reveal.on( 'resumed', post ); 36 | document.addEventListener( 'send', post ); // broadcast custom events sent by other plugins 37 | 38 | // client 39 | } else { 40 | socket.on(multiplex.id, function(message) { 41 | // ignore data from sockets that aren't ours 42 | if (message.socketId !== socketId) { return; } 43 | if( window.location.host === 'localhost:1947' ) return; 44 | 45 | if ( message.state ) { 46 | Reveal.setState(message.state); 47 | } 48 | if ( message.content ) { 49 | // forward custom events to other plugins 50 | var event = new CustomEvent('received'); 51 | event.content = message.content; 52 | document.dispatchEvent( event ); 53 | } 54 | }); 55 | } 56 | }); 57 | }()); -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/multiplex/plugin.yml: -------------------------------------------------------------------------------- 1 | name: multiplex 2 | script: [socket.io.js, multiplex.js] 3 | register: false 4 | config: 5 | multiplex: 6 | secret: null 7 | id: null 8 | url: "https://reveal-multiplex.glitch.me/" 9 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/pdf-export/pdfexport.js: -------------------------------------------------------------------------------- 1 | var PdfExport = ( function( _Reveal ){ 2 | 3 | var Reveal = _Reveal; 4 | var setStylesheet = null; 5 | var installAltKeyBindings = null; 6 | 7 | function getRevealJsPath(){ 8 | var regex = /\b[^/]+\/reveal.css$/i; 9 | var script = Array.from( document.querySelectorAll( 'link' ) ).find( function( e ){ 10 | return e.attributes.href && e.attributes.href.value.search( regex ) >= 0; 11 | }); 12 | if( !script ){ 13 | console.error( 'reveal.css could not be found in included elements. Did you rename this file?' ); 14 | return ''; 15 | } 16 | return script.attributes.href.value.replace( regex, '' ); 17 | } 18 | 19 | function setStylesheet3( pdfExport ){ 20 | var link = document.querySelector( '#print' ); 21 | if( !link ){ 22 | link = document.createElement( 'link' ); 23 | link.rel = 'stylesheet'; 24 | link.id = 'print'; 25 | document.querySelector( 'head' ).appendChild( link ); 26 | } 27 | var style = 'paper'; 28 | if( pdfExport ){ 29 | style = 'pdf'; 30 | } 31 | link.href = getRevealJsPath() + 'css/print/' + style + '.css'; 32 | } 33 | 34 | function setStylesheet4( pdfExport ){ 35 | } 36 | 37 | function installAltKeyBindings3(){ 38 | } 39 | 40 | function installAltKeyBindings4(){ 41 | if( isPrintingPDF() ){ 42 | var config = Reveal.getConfig(); 43 | var shortcut = config.pdfExportShortcut || 'E'; 44 | window.addEventListener( 'keydown', function( e ){ 45 | if( e.target.nodeName.toUpperCase() == 'BODY' 46 | && ( e.key.toUpperCase() == shortcut.toUpperCase() || e.keyCode == shortcut.toUpperCase().charCodeAt( 0 ) ) ){ 47 | e.preventDefault(); 48 | togglePdfExport(); 49 | return false; 50 | } 51 | }, true ); 52 | } 53 | } 54 | 55 | function isPrintingPDF(){ 56 | return ( /print-pdf/gi ).test( window.location.search ); 57 | } 58 | 59 | function togglePdfExport(){ 60 | var url_doc = new URL( document.URL ); 61 | var query_doc = new URLSearchParams( url_doc.searchParams ); 62 | if( isPrintingPDF() ){ 63 | query_doc.delete( 'print-pdf' ); 64 | }else{ 65 | query_doc.set( 'print-pdf', '' ); 66 | } 67 | url_doc.search = ( query_doc.toString() ? '?' + query_doc.toString() : '' ); 68 | window.location.href = url_doc.toString(); 69 | } 70 | 71 | function installKeyBindings(){ 72 | var config = Reveal.getConfig(); 73 | var shortcut = config.pdfExportShortcut || 'E'; 74 | Reveal.addKeyBinding({ 75 | keyCode: shortcut.toUpperCase().charCodeAt( 0 ), 76 | key: shortcut.toUpperCase(), 77 | description: 'PDF export mode' 78 | }, togglePdfExport ); 79 | installAltKeyBindings(); 80 | } 81 | 82 | function install(){ 83 | installKeyBindings(); 84 | setStylesheet( isPrintingPDF() ); 85 | } 86 | 87 | var Plugin = { 88 | } 89 | 90 | if( Reveal && Reveal.VERSION && Reveal.VERSION.length && Reveal.VERSION[ 0 ] == '3' ){ 91 | // reveal 3.x 92 | setStylesheet = setStylesheet3; 93 | installAltKeyBindings = installAltKeyBindings3; 94 | install(); 95 | }else{ 96 | // must be reveal 4.x 97 | setStylesheet = setStylesheet4; 98 | installAltKeyBindings = installAltKeyBindings4; 99 | Plugin.id = 'pdf-export'; 100 | Plugin.init = function( _Reveal ){ 101 | Reveal = _Reveal; 102 | install(); 103 | }; 104 | } 105 | 106 | return Plugin; 107 | 108 | })( Reveal ); 109 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/pdf-export/plugin.yml: -------------------------------------------------------------------------------- 1 | name: PdfExport 2 | script: pdfexport.js 3 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/quarto-line-highlight/line-highlight.css: -------------------------------------------------------------------------------- 1 | .reveal 2 | div.sourceCode 3 | pre 4 | code.has-line-highlights 5 | > span:not(.highlight-line) { 6 | opacity: 0.4; 7 | } 8 | 9 | .reveal pre.numberSource { 10 | padding-left: 0; 11 | } 12 | 13 | .reveal pre.numberSource code > span { 14 | left: -2.1em; 15 | } 16 | 17 | pre.numberSource code > span > a:first-child::before { 18 | left: -0.7em; 19 | } 20 | 21 | .reveal pre > code:not(:first-child).fragment { 22 | position: absolute; 23 | top: 0; 24 | left: 0; 25 | width: 100%; 26 | box-sizing: border-box; 27 | } 28 | 29 | .reveal div.sourceCode pre code { 30 | min-height: 100%; 31 | } 32 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/quarto-line-highlight/plugin.yml: -------------------------------------------------------------------------------- 1 | # adapted from https://github.com/hakimel/reveal.js/tree/master/plugin/highlight 2 | name: QuartoLineHighlight 3 | script: line-highlight.js 4 | stylesheet: line-highlight.css 5 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/quarto-support/footer.css: -------------------------------------------------------------------------------- 1 | .reveal .slide-logo { 2 | display: block; 3 | position: fixed; 4 | bottom: 0; 5 | right: 12px; 6 | max-height: 2.2rem; 7 | height: 100%; 8 | width: auto; 9 | } 10 | 11 | .reveal .footer { 12 | display: block; 13 | position: fixed; 14 | bottom: 18px; 15 | width: 100%; 16 | margin: 0 auto; 17 | text-align: center; 18 | font-size: 18px; 19 | z-index: 2; 20 | } 21 | 22 | .reveal .footer > * { 23 | margin-top: 0; 24 | margin-bottom: 0; 25 | } 26 | 27 | .reveal .slide .footer { 28 | display: none; 29 | } 30 | 31 | .reveal .slide-number { 32 | bottom: 10px; 33 | right: 10px; 34 | font-size: 16px; 35 | background-color: transparent; 36 | } 37 | 38 | .reveal.has-logo .slide-number { 39 | bottom: initial; 40 | top: 8px; 41 | right: 8px; 42 | } 43 | 44 | .reveal .slide-number .slide-number-delimiter { 45 | margin: 0; 46 | } 47 | 48 | .reveal .slide-menu-button { 49 | left: 8px; 50 | bottom: 8px; 51 | } 52 | 53 | .reveal .slide-chalkboard-buttons { 54 | position: fixed; 55 | left: 12px; 56 | bottom: 8px; 57 | z-index: 30; 58 | font-size: 24px; 59 | } 60 | 61 | .reveal .slide-chalkboard-buttons.slide-menu-offset { 62 | left: 54px; 63 | } 64 | 65 | .reveal .slide-chalkboard-buttons > span { 66 | margin-right: 14px; 67 | cursor: pointer; 68 | } 69 | 70 | @media screen and (max-width: 800px) { 71 | .reveal .slide-logo { 72 | max-height: 1.1rem; 73 | bottom: -2px; 74 | right: 10px; 75 | } 76 | .reveal .footer { 77 | font-size: 14px; 78 | bottom: 12px; 79 | } 80 | .reveal .slide-number { 81 | font-size: 12px; 82 | bottom: 7px; 83 | } 84 | .reveal .slide-menu-button .fas::before { 85 | height: 1.3rem; 86 | width: 1.3rem; 87 | vertical-align: -0.125em; 88 | background-size: 1.3rem 1.3rem; 89 | } 90 | 91 | .reveal .slide-chalkboard-buttons .fas::before { 92 | height: 0.95rem; 93 | width: 0.95rem; 94 | background-size: 0.95rem 0.95rem; 95 | vertical-align: -0em; 96 | } 97 | 98 | .reveal .slide-chalkboard-buttons.slide-menu-offset { 99 | left: 36px; 100 | } 101 | .reveal .slide-chalkboard-buttons > span { 102 | margin-right: 9px; 103 | } 104 | } 105 | 106 | html.print-pdf .reveal .slide-menu-button, 107 | html.print-pdf .reveal .slide-chalkboard-buttons { 108 | display: none; 109 | } 110 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/quarto-support/plugin.yml: -------------------------------------------------------------------------------- 1 | name: QuartoSupport 2 | script: support.js 3 | stylesheet: footer.css 4 | config: 5 | smaller: false 6 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/reveal-menu/plugin.yml: -------------------------------------------------------------------------------- 1 | name: RevealMenu 2 | script: [menu.js, quarto-menu.js] 3 | stylesheet: [menu.css, quarto-menu.css] 4 | config: 5 | menu: 6 | side: "left" 7 | useTextContentForMissingTitles: true 8 | markers: false 9 | loadIcons: false 10 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/reveal-menu/quarto-menu.js: -------------------------------------------------------------------------------- 1 | window.revealMenuToolHandler = function (handler) { 2 | return function (event) { 3 | event.preventDefault(); 4 | handler(); 5 | Reveal.getPlugin("menu").closeMenu(); 6 | }; 7 | }; 8 | 9 | window.RevealMenuToolHandlers = { 10 | fullscreen: revealMenuToolHandler(function () { 11 | const element = document.documentElement; 12 | const requestMethod = 13 | element.requestFullscreen || 14 | element.webkitRequestFullscreen || 15 | element.webkitRequestFullScreen || 16 | element.mozRequestFullScreen || 17 | element.msRequestFullscreen; 18 | if (requestMethod) { 19 | requestMethod.apply(element); 20 | } 21 | }), 22 | speakerMode: revealMenuToolHandler(function () { 23 | Reveal.getPlugin("notes").open(); 24 | }), 25 | keyboardHelp: revealMenuToolHandler(function () { 26 | Reveal.toggleHelp(true); 27 | }), 28 | overview: revealMenuToolHandler(function () { 29 | Reveal.toggleOverview(true); 30 | }), 31 | toggleChalkboard: revealMenuToolHandler(function () { 32 | RevealChalkboard.toggleChalkboard(); 33 | }), 34 | toggleNotesCanvas: revealMenuToolHandler(function () { 35 | RevealChalkboard.toggleNotesCanvas(); 36 | }), 37 | downloadDrawings: revealMenuToolHandler(function () { 38 | RevealChalkboard.download(); 39 | }), 40 | }; 41 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/zoom/zoom.esm.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * reveal.js Zoom plugin 3 | */ 4 | var e={id:"zoom",init:function(e){e.getRevealElement().addEventListener("mousedown",(function(o){var n=/Linux/.test(window.navigator.platform)?"ctrl":"alt",i=(e.getConfig().zoomKey?e.getConfig().zoomKey:n)+"Key",d=e.getConfig().zoomLevel?e.getConfig().zoomLevel:2;o[i]&&!e.isOverview()&&(o.preventDefault(),t.to({x:o.clientX,y:o.clientY,scale:d,pan:!1}))}))}},t=function(){var e=1,o=0,n=0,i=-1,d=-1,s="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style;function r(t,o){var n=y();if(t.width=t.width||1,t.height=t.height||1,t.x-=(window.innerWidth-t.width*o)/2,t.y-=(window.innerHeight-t.height*o)/2,s)if(1===o)document.body.style.transform="",document.body.style.OTransform="",document.body.style.msTransform="",document.body.style.MozTransform="",document.body.style.WebkitTransform="";else{var i=n.x+"px "+n.y+"px",d="translate("+-t.x+"px,"+-t.y+"px) scale("+o+")";document.body.style.transformOrigin=i,document.body.style.OTransformOrigin=i,document.body.style.msTransformOrigin=i,document.body.style.MozTransformOrigin=i,document.body.style.WebkitTransformOrigin=i,document.body.style.transform=d,document.body.style.OTransform=d,document.body.style.msTransform=d,document.body.style.MozTransform=d,document.body.style.WebkitTransform=d}else 1===o?(document.body.style.position="",document.body.style.left="",document.body.style.top="",document.body.style.width="",document.body.style.height="",document.body.style.zoom=""):(document.body.style.position="relative",document.body.style.left=-(n.x+t.x)/o+"px",document.body.style.top=-(n.y+t.y)/o+"px",document.body.style.width=100*o+"%",document.body.style.height=100*o+"%",document.body.style.zoom=o);e=o,document.documentElement.classList&&(1!==e?document.documentElement.classList.add("zoomed"):document.documentElement.classList.remove("zoomed"))}function m(){var t=.12*window.innerWidth,i=.12*window.innerHeight,d=y();nwindow.innerHeight-i&&window.scroll(d.x,d.y+(1-(window.innerHeight-n)/i)*(14/e)),owindow.innerWidth-t&&window.scroll(d.x+(1-(window.innerWidth-o)/t)*(14/e),d.y)}function y(){return{x:void 0!==window.scrollX?window.scrollX:window.pageXOffset,y:void 0!==window.scrollY?window.scrollY:window.pageYOffset}}return s&&(document.body.style.transition="transform 0.8s ease",document.body.style.OTransition="-o-transform 0.8s ease",document.body.style.msTransition="-ms-transform 0.8s ease",document.body.style.MozTransition="-moz-transform 0.8s ease",document.body.style.WebkitTransition="-webkit-transform 0.8s ease"),document.addEventListener("keyup",(function(o){1!==e&&27===o.keyCode&&t.out()})),document.addEventListener("mousemove",(function(t){1!==e&&(o=t.clientX,n=t.clientY)})),{to:function(o){if(1!==e)t.out();else{if(o.x=o.x||0,o.y=o.y||0,o.element){var n=o.element.getBoundingClientRect();o.x=n.left-20,o.y=n.top-20,o.width=n.width+40,o.height=n.height+40}void 0!==o.width&&void 0!==o.height&&(o.scale=Math.max(Math.min(window.innerWidth/o.width,window.innerHeight/o.height),1)),o.scale>1&&(o.x*=o.scale,o.y*=o.scale,r(o,o.scale),!1!==o.pan&&(i=setTimeout((function(){d=setInterval(m,1e3/60)}),800)))}},out:function(){clearTimeout(i),clearInterval(d),r({x:0,y:0},1),e=1},magnify:function(e){this.to(e)},reset:function(){this.out()},zoomLevel:function(){return e}}}();export default function(){return e} 5 | -------------------------------------------------------------------------------- /_freeze/site_libs/revealjs/plugin/zoom/zoom.js: -------------------------------------------------------------------------------- 1 | !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).RevealZoom=o()}(this,(function(){"use strict"; 2 | /*! 3 | * reveal.js Zoom plugin 4 | */var e={id:"zoom",init:function(e){e.getRevealElement().addEventListener("mousedown",(function(t){var n=/Linux/.test(window.navigator.platform)?"ctrl":"alt",i=(e.getConfig().zoomKey?e.getConfig().zoomKey:n)+"Key",d=e.getConfig().zoomLevel?e.getConfig().zoomLevel:2;t[i]&&!e.isOverview()&&(t.preventDefault(),o.to({x:t.clientX,y:t.clientY,scale:d,pan:!1}))}))}},o=function(){var e=1,t=0,n=0,i=-1,d=-1,s="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style;function r(o,t){var n=l();if(o.width=o.width||1,o.height=o.height||1,o.x-=(window.innerWidth-o.width*t)/2,o.y-=(window.innerHeight-o.height*t)/2,s)if(1===t)document.body.style.transform="",document.body.style.OTransform="",document.body.style.msTransform="",document.body.style.MozTransform="",document.body.style.WebkitTransform="";else{var i=n.x+"px "+n.y+"px",d="translate("+-o.x+"px,"+-o.y+"px) scale("+t+")";document.body.style.transformOrigin=i,document.body.style.OTransformOrigin=i,document.body.style.msTransformOrigin=i,document.body.style.MozTransformOrigin=i,document.body.style.WebkitTransformOrigin=i,document.body.style.transform=d,document.body.style.OTransform=d,document.body.style.msTransform=d,document.body.style.MozTransform=d,document.body.style.WebkitTransform=d}else 1===t?(document.body.style.position="",document.body.style.left="",document.body.style.top="",document.body.style.width="",document.body.style.height="",document.body.style.zoom=""):(document.body.style.position="relative",document.body.style.left=-(n.x+o.x)/t+"px",document.body.style.top=-(n.y+o.y)/t+"px",document.body.style.width=100*t+"%",document.body.style.height=100*t+"%",document.body.style.zoom=t);e=t,document.documentElement.classList&&(1!==e?document.documentElement.classList.add("zoomed"):document.documentElement.classList.remove("zoomed"))}function m(){var o=.12*window.innerWidth,i=.12*window.innerHeight,d=l();nwindow.innerHeight-i&&window.scroll(d.x,d.y+(1-(window.innerHeight-n)/i)*(14/e)),twindow.innerWidth-o&&window.scroll(d.x+(1-(window.innerWidth-t)/o)*(14/e),d.y)}function l(){return{x:void 0!==window.scrollX?window.scrollX:window.pageXOffset,y:void 0!==window.scrollY?window.scrollY:window.pageYOffset}}return s&&(document.body.style.transition="transform 0.8s ease",document.body.style.OTransition="-o-transform 0.8s ease",document.body.style.msTransition="-ms-transform 0.8s ease",document.body.style.MozTransition="-moz-transform 0.8s ease",document.body.style.WebkitTransition="-webkit-transform 0.8s ease"),document.addEventListener("keyup",(function(t){1!==e&&27===t.keyCode&&o.out()})),document.addEventListener("mousemove",(function(o){1!==e&&(t=o.clientX,n=o.clientY)})),{to:function(t){if(1!==e)o.out();else{if(t.x=t.x||0,t.y=t.y||0,t.element){var n=t.element.getBoundingClientRect();t.x=n.left-20,t.y=n.top-20,t.width=n.width+40,t.height=n.height+40}void 0!==t.width&&void 0!==t.height&&(t.scale=Math.max(Math.min(window.innerWidth/t.width,window.innerHeight/t.height),1)),t.scale>1&&(t.x*=t.scale,t.y*=t.scale,r(t,t.scale),!1!==t.pan&&(i=setTimeout((function(){d=setInterval(m,1e3/60)}),800)))}},out:function(){clearTimeout(i),clearInterval(d),r({x:0,y:0},1),e=1},magnify:function(e){this.to(e)},reset:function(){this.out()},zoomLevel:function(){return e}}}();return function(){return e}})); 5 | -------------------------------------------------------------------------------- /_quarto.yml: -------------------------------------------------------------------------------- 1 | project: 2 | type: website 3 | render: 4 | - "*.qmd" 5 | - "!materials/*/exercises/" 6 | 7 | from: markdown+emoji 8 | 9 | website: 10 | title: "From R Markdown to Quarto" 11 | page-navigation: true 12 | navbar: 13 | background: light 14 | foreground: dark 15 | right: 16 | - text: "Overview" 17 | href: index.qmd 18 | - text: "Materials" 19 | href: materials/index.qmd 20 | - text: "About" 21 | href: about.qmd 22 | 23 | sidebar: 24 | - id: materials 25 | title: "Materials" 26 | style: "floating" 27 | align: left 28 | contents: 29 | - text: "Materials" 30 | href: materials/index.qmd 31 | - text: "1. Welcome to Quarto" 32 | href: materials/1-welcome-to-quarto/index.qmd 33 | - text: "2. Polishing Documents" 34 | href: materials/2-polishing-documents/index.qmd 35 | - text: "3. Computation" 36 | href: materials/3-computation/index.qmd 37 | - text: "4. Projects and Publishing" 38 | href: materials/4-projects-and-publishing/index.qmd 39 | - text: "5. Presentations" 40 | href: materials/5-presentations/index.qmd 41 | - text: "6. Websites and Books" 42 | href: materials/6-websites-and-books/index.qmd 43 | - text: "7. Workshop" 44 | href: materials/7-workshop/index.qmd 45 | - text: "8. The Future of Quarto" 46 | href: materials/8-future-of-quarto/index.qmd 47 | - id: about 48 | contents: 49 | - about.qmd 50 | 51 | page-footer: 52 | right: "This page is built with {{< fa heart >}} and [Quarto](https://quarto.org/)." 53 | left: "© 2022, Andrew Bray" 54 | 55 | format: 56 | html: 57 | theme: 58 | - sandstone 59 | - custom.scss 60 | 61 | execute: 62 | freeze: auto 63 | 64 | # Design tips: 65 | # 1. maggieappleton.com 66 | # 2. Palette: https://www.jpl.nasa.gov/images/the-grand-tour-jpl-travel-poster 67 | 68 | -------------------------------------------------------------------------------- /about.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "About the Workshop" 3 | --- 4 | 5 | These materials are for a two day workshop taking place before [rstudio::conf 2022](https://www.rstudio.com/conference/) in Washington, DC. 6 | 7 | - [Location:]{.smallcaps} National Harbor 12/13\ 8 | Gaylord National Convention Center 9 | - [Time:]{.smallcaps} 9 am - 5 pm July 25^th^ and July^26^ 10 | 11 | 12 | ## Teaching Team 13 | 14 | #### Andrew Bray 15 | 16 | Andrew Bray is a statistician at UC Berkeley where he develops and teaches courses in statistics and data science. His gets excited about empowering students to use data to understand the world and enjoys being part of a community of people developing open source software and open source educational resources. Though primarily an R user, last year he taught a large data science class to 1100 students in Python, which had him sorely missing the R Markdown ecosystem. The experience made him particularly grateful for Quarto as a bridge to other communities of data scientists. 17 | 18 | #### Rebecca Barter 19 | 20 | Rebecca is a statistician, data scientist, educator, and communicator who has a dual passion for empowering others by teaching critical thinking and technical skills for data science, and for uncovering the hidden patterns and stories that live inside complex datasets (primarily related to healthcare and medicine). She is currently a postdoc at UC Berkeley and she sometimes writes about data science and R on her website at [www.rebeccabarter.com](https://www.rebeccabarter.com). 21 | 22 | #### Silvia Canelón 23 | 24 | Silvia (she/her) is a researcher, community organizer, and R educator. Her research projects at the University of Pennsylvania leverage electronic health record data to study pregnancy-related outcomes, and her organizing values data literacy as a way to build power and effect change. 25 | 26 | She enjoys finding ways to communicate technical knowledge with a variety of audiences and loves learning how modern tools in the R ecosystem can support reproducible, efficient, and accessible workflows. 27 | 28 | You can find out what Silvia is up to lately at [silviacanelon.com](https://silviacanelon.com). 29 | 30 | #### Christophe Dervieu 31 | 32 | Christophe Dervieux is an active member of the R community, currently living in France. With a master’s degree in energy and economics, he started working with R as an analyst doing economic studies about market designs, before becoming a developer advocate and R admin, promoting R and supporting R users where he works. 33 | 34 | He is interested in helping others get the most from R, and you can find him wandering in the RStudio Community as a sustainer, or on several GitHub issue boards for various R packages. In both places, you may better recognize him by his shorter handle “cderv.” 35 | 36 | As an R developer, he is a contributor to several R packages, such as bookdown, rmarkdown, and knitr. He has also co-authored the crrri package. His own projects can be found on GitHub (https://github.com/cderv), and sometimes he shares his ideas on Twitter (https://twitter.com/chrisderv). 37 | 38 | He does not like spicy food, but he enjoys playing badminton every week. 39 | 40 | #### Devin Pastoor 41 | 42 | Bio coming soon. 43 | 44 | #### Tatsu Shigeta 45 | 46 | Tatsu works on the Customer Success team at RStudio, and specializes in managing consulting and high tech clients. He is also PhD student at Northeastern University - studying how exercise affects the brain - that has all but defended (coming up in two weeks!). He has used RStudio for his own research purposes for a better part of decade, and looks forward to talking data science with everyone at his first rstudio::conf. 47 | 48 | 49 | ## About these materials 50 | 51 | This source code and license for all of the materials found on this website can be found on Github [{{< fa brands github >}}](https://github.com/rstudio-conf-2022/rmd-to-quarto). 52 | -------------------------------------------------------------------------------- /images/grand-tour-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/images/grand-tour-small.png -------------------------------------------------------------------------------- /images/seaplane-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/images/seaplane-bg.png -------------------------------------------------------------------------------- /images/seaplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/images/seaplane.png -------------------------------------------------------------------------------- /images/sikorsky.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/images/sikorsky.pdf -------------------------------------------------------------------------------- /index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | pagetitle: "Quarto" 3 | anchor-sections: false 4 | section-divs: false 5 | toc: false 6 | css: index.css 7 | editor: source 8 | --- 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | ::: {.grid} 24 | 25 | ::: {.g-col-6} 26 | # From R Markdown to Quarto 27 | 28 | #### A Workshop at
rstudio::conf 2022 29 | ::: 30 | 31 | ::: {.g-col-6} 32 | 33 | 34 | 35 | ![](images/seaplane.png){fig-alt="Seaplane."} 36 | 37 | ::: 38 | 39 | ::: 40 | 41 | This workshop is designed for those who want to take their R Markdown skills and expertise and apply them in Quarto, the next generation of R Markdown. Quarto is an open-source scientific and technical publishing system that offers multilingual programming language support to create dynamic and static documents, books, presentations, blogs, and other online resources. In this workshop you will learn how to apply your reproducible authoring skills to the Quarto format and learn about new tools and workflows for authoring with Quarto in RStudio. 42 | 43 | ::: content-block 44 | ::: features 45 | ::: feature 46 | ### Day One 47 | 48 | - 9-10:30 am [Welcome to Quarto](materials/1-welcome-to-quarto) 49 | - 10:30-11 am Coffee Break 50 | - 11-12:30 pm [Polishing Documents](materials/2-polishing-documents) 51 | - 12:30-1:30 pm Lunch 52 | - 1:30-3 pm [Computation](materials/3-computation) 53 | - 3-3:30 pm Coffee Break 54 | - 3:30-5 pm [Projects and Publishing](materials/4-projects-and-publishing) 55 | ::: 56 | 57 | ::: feature 58 | ### Day Two 59 | 60 | - 9-10:30 am [Presentations](materials/5-presentations) 61 | - 10:30-11 am Coffee Break 62 | - 11-12:30 pm [Websites and Books](materials/6-websites-and-books) 63 | - 12:30-1:30 pm Lunch 64 | - 1:30-3 pm [Workshop](materials/7-workshop) 65 | - 3-3:30 pm Coffee Break 66 | - 3:30-5 pm [The Future of Quarto](materials/8-future-of-quarto) 67 | ::: 68 | ::: 69 | ::: 70 | -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/demo.qmd: -------------------------------------------------------------------------------- 1 | # United States Patent 2 | 3 | A *spatial logical toy* is formed from a total of eighteen toy elements, out of which two sets of eight identical toy elements two connecting elements are provided. The elements of the two sets have cam members with hollows with spherical convex or concave surfaces in-between. The elements are connected by the aid of the cams and the two remaining centrally positioned substantially identical connecting elements each having a T-shape cross-section and when assembled the toy is in the form of a regular or an irregular solid. 4 | 5 | ![](images/med-rubiks-cube.png) 6 | -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/ex-1.qmd: -------------------------------------------------------------------------------- 1 | # Spatial Logical Toy 2 | 3 | - Inventor: **Erno Rubik** 4 | - Assignee: Politoys Ipari Szovetkezet, Budapest, Hungary 5 | - Appl. No.: 289,192 6 | - Filed: Aug. 3, 1981 7 | 8 | ## Abstract 9 | 10 | A spatial logical toy is formed from a total of eighteen toy elements, out of which two sets of eight identical toy elements two connecting elements are provided. The elements of the two sets have cam members with hollows with spherical convex or concave surfaces in-between. The elements are connected by the aid of the cams and the two remaining centrally positioned substantially identical connecting elements each having a T-shape cross-section and when assembled the toy is in the form of a regular or an irregular solid. Fixation is performed by one single screw passing through bores in the connecting elements. In such a manner the toy elements forming the lateral faces of the spatial logical toy can be rotated along the spatial axes and by yielding several variation possibilities the toy is well suitable for stimulating logical thinking activity. -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/ex-2-figs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/exercises/ex-2-figs.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/ex-2-goal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/exercises/ex-2-goal.pdf -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/ex-2-goal.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | format: pdf 3 | --- 4 | 5 | # Spatial Logical Toy 6 | 7 | - Inventor: [Erno Rubik]{.smallcaps} 8 | - Assignee: Politoys Ipari Szovetkezet, Budapest, Hungary^[The first patent by the inventor is registered in Hungary.] 9 | - Appl. No.: 289,192 10 | - Filed: Aug. 3, 1981 11 | 12 | ## Background of the Invention 13 | 14 | The invention relates to a spatial logical toy having a total of eighteen toy elements which form a regular or an irregular spatial body, preferably an oblong body, in the assembled state. 15 | 16 | Spatial logical toys are well known, such as that described in the HU-PS No. 170 062 of the same applicant, which relates to a spatial logical toy consisting of *twenty-seven solids* which form a cube in the assembled state. The toy elements, in the shape of small cubes, may be turned along the spatial axes of the cube by means of connecting elements arranged in the [geometric center](https://en.wikipedia.org/wiki/Centroid) of the large cube. 17 | 18 | The surfaces of the small cubes forming each surface of the large cube are colored or carry numbers, figures or any other symbols which can be assembled into the predetermined logical order of sequence by simultaneously rotating the nine toy elements forming the surfaces of the large cube. 19 | 20 | ## Summary of the Invention 21 | 22 | The logical toy^[It's debatable whether this toy is logical.] according to the present invention represents an improved form of the previously described spatial logical toy. The construction is based on the same principles, however, the internal connection is performed by means of absolutely new and particular solids. 23 | 24 | The key feature according to the invention, i.e. shape, ~~name, sounds,~~ mode of interconnection and central fixture will be described in detail by means of two preferred embodiments, by the aid of the accompanying drawings, wherein. 25 | 26 | ![Component blocks of the spatial logial toy.](ex-2-figs.png) 27 | 28 | What is claimed is: 29 | 30 | 1. In a spatial logical toy assembled from a plurality of toy elements, of which a predetermined number may be rotated in the direction of the spatial axes starting from the geometrical center of the logical toy, the improvement wherein the spatial logical toy is formed by a total of eighteen toy elements. 31 | 32 | Two sets of eight toy elements each comprise substantially cubiforms with integally formed cam elements and each of the sets comprise eight identical toy elements, and two connecting toy elements, and means for joining the connecting toy elements to coact with the cam elements to form an integrated toy body, the joining means comprising a single screw enclosed by a spring. 33 | 34 | 2. The spatial logical toy as claimed in claim 1, wherein the toy has the shape of a regular geometrical body in the assembled state. 35 | 36 | i) The toy elements thereof belonging to one set comprise eight cubiform homologous elements each having a first cam element connected to one corner thereof. 37 | 38 | ii) Two confining surfaces of which lie at a unit distance from two surfaces of the cube and are parallel therewith and are cut-off in the form of an ellipsis-quarter, and a third confining surface thereof is coplanar with another surface of the cube and between the two confining faces of the first cam element running parallel with the cube and the cube there is a hollow with a convex spherical surface. 39 | -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/ex-2-goal_files/libs/bootstrap/bootstrap-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/exercises/ex-2-goal_files/libs/bootstrap/bootstrap-icons.woff -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/ex-2-goal_files/libs/quarto-html/quarto-syntax-highlighting.css: -------------------------------------------------------------------------------- 1 | /* quarto syntax highlight colors */ 2 | :root { 3 | --quarto-hl-ot-color: #003B4F; 4 | --quarto-hl-at-color: #657422; 5 | --quarto-hl-ss-color: #20794D; 6 | --quarto-hl-an-color: #5E5E5E; 7 | --quarto-hl-fu-color: #4758AB; 8 | --quarto-hl-st-color: #20794D; 9 | --quarto-hl-cf-color: #003B4F; 10 | --quarto-hl-op-color: #5E5E5E; 11 | --quarto-hl-er-color: #AD0000; 12 | --quarto-hl-bn-color: #AD0000; 13 | --quarto-hl-al-color: #AD0000; 14 | --quarto-hl-va-color: #111111; 15 | --quarto-hl-bu-color: inherit; 16 | --quarto-hl-ex-color: inherit; 17 | --quarto-hl-pp-color: #AD0000; 18 | --quarto-hl-in-color: #5E5E5E; 19 | --quarto-hl-vs-color: #20794D; 20 | --quarto-hl-wa-color: #5E5E5E; 21 | --quarto-hl-do-color: #5E5E5E; 22 | --quarto-hl-im-color: #00769E; 23 | --quarto-hl-ch-color: #20794D; 24 | --quarto-hl-dt-color: #AD0000; 25 | --quarto-hl-fl-color: #AD0000; 26 | --quarto-hl-co-color: #5E5E5E; 27 | --quarto-hl-cv-color: #5E5E5E; 28 | --quarto-hl-cn-color: #8f5902; 29 | --quarto-hl-sc-color: #5E5E5E; 30 | --quarto-hl-dv-color: #AD0000; 31 | --quarto-hl-kw-color: #003B4F; 32 | } 33 | 34 | /* other quarto variables */ 35 | :root { 36 | --quarto-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 37 | } 38 | 39 | pre > code.sourceCode > span { 40 | color: #003B4F; 41 | } 42 | 43 | code span { 44 | color: #003B4F; 45 | } 46 | 47 | code.sourceCode > span { 48 | color: #003B4F; 49 | } 50 | 51 | div.sourceCode, 52 | div.sourceCode pre.sourceCode { 53 | color: #003B4F; 54 | } 55 | 56 | code span.ot { 57 | color: #003B4F; 58 | } 59 | 60 | code span.at { 61 | color: #657422; 62 | } 63 | 64 | code span.ss { 65 | color: #20794D; 66 | } 67 | 68 | code span.an { 69 | color: #5E5E5E; 70 | } 71 | 72 | code span.fu { 73 | color: #4758AB; 74 | } 75 | 76 | code span.st { 77 | color: #20794D; 78 | } 79 | 80 | code span.cf { 81 | color: #003B4F; 82 | } 83 | 84 | code span.op { 85 | color: #5E5E5E; 86 | } 87 | 88 | code span.er { 89 | color: #AD0000; 90 | } 91 | 92 | code span.bn { 93 | color: #AD0000; 94 | } 95 | 96 | code span.al { 97 | color: #AD0000; 98 | } 99 | 100 | code span.va { 101 | color: #111111; 102 | } 103 | 104 | code span.pp { 105 | color: #AD0000; 106 | } 107 | 108 | code span.in { 109 | color: #5E5E5E; 110 | } 111 | 112 | code span.vs { 113 | color: #20794D; 114 | } 115 | 116 | code span.wa { 117 | color: #5E5E5E; 118 | font-style: italic; 119 | } 120 | 121 | code span.do { 122 | color: #5E5E5E; 123 | font-style: italic; 124 | } 125 | 126 | code span.im { 127 | color: #00769E; 128 | } 129 | 130 | code span.ch { 131 | color: #20794D; 132 | } 133 | 134 | code span.dt { 135 | color: #AD0000; 136 | } 137 | 138 | code span.fl { 139 | color: #AD0000; 140 | } 141 | 142 | code span.co { 143 | color: #5E5E5E; 144 | } 145 | 146 | code span.cv { 147 | color: #5E5E5E; 148 | font-style: italic; 149 | } 150 | 151 | code span.cn { 152 | color: #8f5902; 153 | } 154 | 155 | code span.sc { 156 | color: #5E5E5E; 157 | } 158 | 159 | code span.dv { 160 | color: #AD0000; 161 | } 162 | 163 | code span.kw { 164 | color: #003B4F; 165 | } 166 | 167 | .prevent-inlining { 168 | content: ".tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1} -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/ex-2.qmd: -------------------------------------------------------------------------------- 1 | Spatial Logical Toy Inventor: Erno Rubik Assignee: Politoys Ipari Szovetkezet, Budapest, Hungary The first patent by the inventor is registered in Hungary. Appl. No.: 289,192 Filed: Aug. 3, 1981 Background of the Invention The invention relates to a spatial logical toy having a total of eighteen toy elements which form a regular or an irregular spatial body, preferably an oblong body, in the assembled state. Spatial logical toys are well known, such as that described in the HU-PS No. 170 062 of the same applicant, which relates to a spatial logical toy consisting of twenty-seven solids which form a cube in the assembled state. The toy elements, in the shape of small cubes, may be turned along the spatial axes of the cube by means of connecting elements arranged in the geometric center of the large cube. The surfaces of the small cubes forming each surface of the large cube are colored or carry numbers, figures or any other symbols which can be assembled into the predetermined logical order of sequence by simultaneously rotating the nine toy elements forming the surfaces of the large cube. Summary of the Invention The logical toy It's debatable whether this toy is logical. according to the present invention represents an improved form of the previously described spatial logical toy. The construction is based on the same principles, however, the internal connection is performed by means of absolutely new and particular solids. The key feature according to the invention, i.e. shape, ~~name, sounds,~~ mode of interconnection and central fixture will be described in detail by means of two preferred embodiments, by the aid of the accompanying drawings, wherein. Component blocks of the spatial logial toy. ex-2-figs.png What is claimed is: 1. In a spatial logical toy assembled from a plurality of toy elements, of which a predetermined number may be rotated in the direction of the spatial axes starting from the geometrical center of the logical toy, the improvement wherein the spatial logical toy is formed by a total of eighteen toy elements. Two sets of eight toy elements each comprise substantially cubiforms with integally formed cam elements and each of the sets comprise eight identical toy elements, and two connecting toy elements, and means for joining the connecting toy elements to coact with the cam elements to form an integrated toy body, the joining means comprising a single screw enclosed by a spring. The spatial logical toy as claimed in claim 1, wherein the toy has the shape of a regular geometrical body in the assembled state. The toy elements thereof belonging to one set comprise eight cubiform homologous elements each having a first cam element connected to one corner thereof. Two confining surfaces of which lie at a unit distance from two surfaces of the cube and are parallel therewith and are cut-off in the form of an ellipsis-quarter, and a third confining surface thereof is coplanar with another surface of the cube and between the two confining faces of the first cam element running parallel with the cube and the cube there is a hollow with a convex spherical surface. 2 | -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/exercises/sandbox.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Sandbox" 3 | subtitle: "Welcome to Quarto" 4 | --- 5 | 6 | This is just an empty file to tinker around with code that you see on the slides. 7 | 8 | To make it easy to quickly view the output of your file: just click "Render on Save" at the top of this file and the output should appear in the Viewer pane. 9 | 10 | -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Welcome to Quarto" 3 | --- 4 | 5 | > Meet your fellow students, familiarize yourself with the format of the workshop, practing rendering documents with Quarto, and manipulate the markdown block and inline elements that structure all documents. 6 | 7 | ### Outline 8 | 9 | [Link to slides](slides/welcome-to-quarto.qmd) 10 | 11 | 1. About the Workshop 12 | 2. What can you do with Quarto? 13 | 3. Quarto and R Markdown: A History 14 | 4. Rendering in Quarto 15 | 5. The Structure of a Document 16 | i. Inline Elements 17 | ii. Block Elements 18 | iii. Metadata 19 | 6. The Elements of Markdown 20 | i. Text Formatting 21 | ii. Math 22 | iii. Links and Images 23 | iv. Footnotes 24 | v. Paragraph 25 | vi. Headers 26 | vii. Lists 27 | viii. Display Math 28 | ix. YAML 29 | 30 | ### Exercises 31 | 32 | To get the materials for each part of this course packed in an RStudio Project, run: 33 | 34 | ````{.markdown} 35 | ```{{r}} 36 | usethis::use_course("rmd-to-quarto/welcome-to-quarto") 37 | ``` 38 | ```` 39 | -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/demo-html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/demo-html.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/demo-md.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/demo-md.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/demo-pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/demo-pdf.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/demo.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/demo.docx -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/demo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/demo.pdf -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/disassembled-rubix.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/disassembled-rubix.jpg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/edison-bulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/edison-bulb.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/elephant-html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/elephant-html.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/elephant-latex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/elephant-latex.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/elephant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/elephant.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/ex-1-yaml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/ex-1-yaml.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/ex-2.qmd: -------------------------------------------------------------------------------- 1 | Spatial Logical Toy Inventor: Erno Rubik Assignee: Politoys Ipari Szovetkezet, Budapest, Hungary The first patent by the inventor is registered in Hungary. Appl. No.: 289,192 Filed: Aug. 3, 1981 Background of the Invention The invention relates to a spatial logical toy having a total of eighteen toy elements which form a regular or an irregular spatial body, preferably an oblong body, in the assembled state. Spatial logical toys are well known, such as that described in the HU-PS No. 170 062 of the same applicant, which relates to a spatial logical toy consisting of twenty-seven solids which form a cube in the assembled state. The toy elements, in the shape of small cubes, may be turned along the spatial axes of the cube by means of connecting elements arranged in the geometric center of the large cube. The surfaces of the small cubes forming each surface of the large cube are colored or carry numbers, figures or any other symbols which can be assembled into the predetermined logical order of sequence by simultaneously rotating the nine toy elements forming the surfaces of the large cube. Summary of the Invention The logical toy according to the present invention represents an improved form of the previously described spatial logical toy. The construction is based on the same principles, however, the internal connection is performed by means of absolutely new and particular solids. The key feature according to the invention, i.e. shape, ~~name, sounds,~~ mode of interconnection and central fixture will be described in detail by means of two preferred embodiments, by the aid of the accompanying drawings, wherein. Component blocks of the spatial logial toy. ex-2-figs.png What is claimed is: 1. In a spatial logical toy assembled from a plurality of toy elements, of which a predetermined number may be rotated in the direction of the spatial axes starting from the geometrical center of the logical toy, the improvement wherein the spatial logical toy is formed by a total of eighteen toy elements. Two sets of eight toy elements each comprise substantially cubiforms with integally formed cam elements and each of the sets comprise eight identical toy elements, and two connecting toy elements, and means for joining the connecting toy elements to coact with the cam elements to form an integrated toy body, the joining means comprising a single screw enclosed by a spring. The spatial logical toy as claimed in claim 1, wherein the toy has the shape of a regular geometrical body in the assembled state. The toy elements thereof belonging to one set comprise eight cubiform homologous elements each having a first cam element connected to one corner thereof. Two confining surfaces of which lie at a unit distance from two surfaces of the cube and are parallel therewith and are cut-off in the form of an ellipsis-quarter, and a third confining surface thereof is coplanar with another surface of the cube and between the two confining faces of the first cam element running parallel with the cube and the cube there is a hollow with a convex spherical surface. 2 | -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-books-r4ds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-books-r4ds.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-books-viz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-books-viz.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-doc-html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-doc-html.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-doc-pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-doc-pdf.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-pres-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-pres-3.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-pres-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-pres-4.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-web-nasa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-web-nasa.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/gallery-web-quarto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/gallery-web-quarto.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/github-discussion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/github-discussion.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/large-rubiks-cube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/large-rubiks-cube.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/med-rubiks-cube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/med-rubiks-cube.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/pandoc-docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/pandoc-docs.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/pollev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/pollev.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/quarto-workshop-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/quarto-workshop-1.jpg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/quarto-workshop-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/quarto-workshop-2.jpg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/quarto-workshop-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/quarto-workshop-3.jpg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/quarto-workshop-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/quarto-workshop-4.jpg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/quarto-workshop-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/quarto-workshop-5.jpg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/quarto-workshop-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/quarto-workshop-6.jpg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/render-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/render-icon.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/rmarkdown_wizards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/rmarkdown_wizards.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/rstudio-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/rstudio-console.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/rstudio-terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/rstudio-terminal.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/rubiks-cube-patent.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/rubiks-cube-patent.pdf -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/rubiks-patent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/rubiks-patent.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/seaplane-headon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/seaplane-headon.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/sticky.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/sticky.jpeg -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/terminal.png -------------------------------------------------------------------------------- /materials/1-welcome-to-quarto/slides/images/try-pandoc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/1-welcome-to-quarto/slides/images/try-pandoc.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/ex-3.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "My Favorite Vacation Spot" 3 | format: html 4 | --- 5 | 6 | ## Remove these instructions when you're done 7 | 8 | Modify this file to create a document that describes your favorite place to visit on a vacation. 9 | 10 | No need to author the content itself. You can pull text from the Wikipedia page for your destination. A wonderful resource for free images is . 11 | 12 | Please add to your document each of the following: 13 | 14 | 1. At least two levels of headers. 15 | 2. Several paragraphs of text. 16 | 3. A callout box with attributes: (see ) 17 | - (for HTML only) box collapses on click 18 | - change the appearance 19 | - remove the icon 20 | 4. One solo image with attributes: (see ) 21 | - centered 22 | - dimensions 400 by 400 pixels 23 | - links to Wikipedia page location 24 | - annotate with alt-text 25 | 5. A few images stitched together as sub-figures of a larger plot with the following layout and attributes: 26 | - centered 27 | - captioned (main figure and sub-figures) 28 | - annotated with alt-text 29 | 6. An inline or block element as margin content (e.g. list, image, text). 30 | 7. At least two references to different labeled elements. Try referencing the subfigures or exploring the other auto-populated reference types in Quarto (see ). 31 | 8. One new element that we haven't discussed (search the list by typing `/` on a new line in the visual editor). 32 | 33 | When you're done, please share a screenshot of your document in the GitHub Discussion thread "Exercise 3". 34 | 35 | 36 | If you'd like more of a challenge... 37 | 38 | - Switch out one of the images in a sub-figure panel with an iframe of a youtube video from that place. 39 | - Try to take one paragraph of text and have it occupy only the middle third of the body column (hint: fenced divs with the layout attribute can have empty cells). 40 | 41 | * * * 42 | 43 | -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/ex-4.css: -------------------------------------------------------------------------------- 1 | /* css styles */ 2 | 3 | -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/ex-4.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Exercise 4" 3 | format: html 4 | --- 5 | 6 | ### I. Typography for Elements 7 | 8 | Do your best to recreate the styles seen on the Exercise 4 slide for Inline, Block, and Metadata Elements by writing CSS rules for three classes. Think about: 9 | 10 | - In what ways does that text differ stylistically from normal text? 11 | - Can I track down the name of those attributes in the CSS property list? 12 | - What property values does each rule appear to be taking? 13 | 14 | Write these rules in `ex-4.css` and then link to in the YAML of this file. 15 | 16 | ### II. A Custom Callout 17 | 18 | Create a custom class for your own style of callout box. Properties to look into include: 19 | - borders 20 | - background colors 21 | - padding -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/circuit-mondo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/circuit-mondo.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/circuit-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/circuit-small.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/circuit.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/dog-watch-mondo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/dog-watch-mondo.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/dog-watch-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/dog-watch-small.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/dog-watch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/dog-watch.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/watch-face-mondo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/watch-face-mondo.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/watch-face-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/watch-face-small.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/images/watch-face.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/exercises/images/watch-face.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/exercises/sandbox.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: sandbox 3 | format: html 4 | --- 5 | 6 | Feel free to to play along while we explore some elements in Quarto. 7 | 8 | ### Paths to images 9 | 10 | Your browser dimensions will be different than my slides, so play around with different sizes. 11 | 12 | - `images/dog-watch.png` 13 | - `images/dog-watch-mondo.png` 14 | - `images/dog-watch-small.png` 15 | - `images/circuit.png` 16 | - `images/circuit-mondo.png` 17 | - `images/circuit-small.png` 18 | - `images/watch-face.png` 19 | - `images/watch-face-mondo.png` 20 | - `images/watch-face-small.png` 21 | 22 | ### Sample Text 23 | 24 | Animals, such as dogs, live shorter lives as measured by human time than people. A dog that lives ten years has lived a full life; a man might live 77 years to live a full life. The relationship between the lifetimes of humans and dogs can be related by stating a period of time in "dog years." Two human years is fourteen "dog years." Although this relationship might perhaps be helpful in determining whether a dog or other animal is full grown or not, it does little to help the owner of a pet put the proper value on the animal's time. Various animals have different lifetimes. For example, seahorses and rats live an average of three human years; pigeons live three and one-half years; goldfish and hamsters live five human years; hogs, 9 years; dogs, 11 years; cats, 18 years, beavers, 12 years; lobsters, 15 years; bats, lions, and horses live 20 years; dolphins live 25 years; brown bears live 47 years and polar bears live 33 years; gorillas live 45 years; alligators, 50 years; elephants, 60 years; and giant tortoises, 100 years. All of these have a corresponding multiple to relate to them to human time. 25 | 26 | ### Test Span 27 | 28 | The quick [brown fox]{} jumped over the lazy dog. 29 | 30 | -------------------------------------------------------------------------------- /materials/2-polishing-documents/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Polishing Documents" 3 | --- 4 | 5 | > Learn how to create generic block and inline elements, leverage id labels, set classes and attributes, practice using Quarto-specific elements in RStudio's visual editor, and customize the appearance of your documents with elementary CSS. 6 | 7 | ### Topics 8 | 9 | [Link to slides](slides/polishing-documents.qmd) 10 | 11 | 1. Generic Elements 12 | i. Bracketed Spans 13 | ii. Fenced Divs 14 | 2. Quarto Elements 15 | i. Callout Blocks 16 | ii. Element Layout 17 | iii. Document Layout 18 | iv. Figures 19 | v. Labels, Links, and References 20 | 5. RStudio's Visual Editor 21 | 6. Styling with HTML Themes 22 | 7. Baby Steps into CSS 23 | 24 | ### Exercises 25 | 26 | To get the materials for each part of this course packed in an RStudio Project, run: 27 | 28 | ````{.markdown} 29 | ```{{r}} 30 | usethis::use_course("rmd-to-quarto/polishing-documents") 31 | ``` 32 | ```` 33 | -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/bootswatch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/bootswatch.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/callouts-doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/callouts-doc.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/callouts-pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/callouts-pdf.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/circuit.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/doc-layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/doc-layout.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/dog-watch-patent.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/dog-watch-patent.pdf -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/dog-watch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/dog-watch.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/margin-no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/margin-no.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/margin-yes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/margin-yes.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/pandoc-convert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/pandoc-convert-1.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/pandoc-convert-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/pandoc-convert-2.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/quarto-workshop-07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/quarto-workshop-07.jpg -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/quarto-workshop-08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/quarto-workshop-08.jpg -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/quarto-workshop-09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/quarto-workshop-09.jpg -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/quarto-workshop-10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/quarto-workshop-10.jpg -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/quarto-workshop-11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/quarto-workshop-11.jpg -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/quarto-workshop-12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/quarto-workshop-12.jpg -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/rubiks-patent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/rubiks-patent.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/visual-attributes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/visual-attributes.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/visual-elements.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/visual-elements.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/visual-table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/visual-table.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/watch-face.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/watch-face.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/yaml-intelligence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/yaml-intelligence.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/zen-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/zen-1.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/zen-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/zen-2.png -------------------------------------------------------------------------------- /materials/2-polishing-documents/slides/images/zen-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/2-polishing-documents/slides/images/zen-3.png -------------------------------------------------------------------------------- /materials/3-computation/exercises/ex-5.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Exercise 5" 3 | format: html 4 | --- 5 | 6 | In this exercise you'll experiment with code cells in Quarto by creating a short document featuring an analysis of biometric data on penguins from the Palmer Archipelago in Antarctica. Read about the data here: and load the data frame `penguins` into R with: 7 | 8 | ```{r} 9 | library(palmerpenguins) 10 | penguins 11 | ``` 12 | 13 | The tasks below focus on the features of Quarto we've been covering, but if you can't keep your inner data scientist quiet, you'll welcome to make this a more fully fleshed out analysis with headers, some interpretative text, etc. If you're familiar with plotting in R, please go ahead and make your own plots. If you're not, there is plotting code at the bottom of this document that you're welcome to recycle. 14 | 15 | 1. Be sure that all code is echoed to your output document. 16 | 2. Print a portion of the `penguins` data frame into your report. Experiment with the different Quarto print methods but if you're familiar with table making package in R such at `gt` and `kableExtra`, trying giving those a go too. 17 | 3. Create a data visualization of some aspect of `penguins` as a figure that is 18 | - is 3 inches wide by 2 inches tall 19 | - centered 20 | - with a caption and alt text 21 | - links to 22 | 4. Create two additional data visualizations and place them side-by-side on the same line of the output document. Additionally, 23 | - add captions to each and caption to the whole figure. 24 | - add references to all three (the sub figures and the whole figure) in a paragraph of text that follows the figure. 25 | 5. Create one more plot and move into into the right margin. 26 | 6. The HTML format has several features that allow users to interact with code. Read about them () then experiment by adding them to your document (code folding could make sense here). 27 | 7. Move at least one chunk option from individual cells up to the document YAML. 28 | 8. Use tab-complete in the IDE to add an obscure chunk option to your chunks. 29 | 30 | When you're pleased with your document, please share a screenshot of it on the workshop discussion. 31 | 32 | ```{r} 33 | library(ggplot2) 34 | ggplot(penguins, aes(x = bill_length_mm, 35 | y = bill_depth_mm, 36 | color = island)) + 37 | geom_point() 38 | ``` 39 | 40 | ```{r} 41 | ggplot(penguins, aes(x = flipper_length_mm, 42 | fill = species)) + 43 | geom_density() 44 | ``` 45 | -------------------------------------------------------------------------------- /materials/3-computation/exercises/ex-5_files/figure-html/unnamed-chunk-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/3-computation/exercises/ex-5_files/figure-html/unnamed-chunk-2-1.png -------------------------------------------------------------------------------- /materials/3-computation/exercises/sandbox.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: Sandbox 3 | format: html 4 | --- 5 | 6 | Feel free to to play along while we explore some elements in Quarto. 7 | 8 | ## Executing code 9 | 10 | ```{r} 11 | #| echo: true 12 | 13 | rnorm(5) 14 | ``` 15 | 16 | ## Figure output 17 | 18 | ```{r} 19 | library(palmerpenguins) 20 | library(ggplot2) 21 | 22 | ggplot(penguins, aes(x = bill_length_mm, 23 | y = bill_depth_mm, 24 | col = island)) + 25 | geom_point() + 26 | theme_grey(base_size = 18) 27 | ``` 28 | 29 | ## Data frame output 30 | 31 | ```{r} 32 | mtcars 33 | ``` 34 | 35 | 36 | -------------------------------------------------------------------------------- /materials/3-computation/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Computation" 3 | --- 4 | 5 | 6 | ### Topics 7 | 8 | [Link to slides](slides/computation.qmd) 9 | 10 | 1. Code Blocks 11 | 1. The Hashpipe! 12 | 2. Controlling execution 13 | 3. Other chunk options 14 | 2. Figure Output 15 | 3. Data Frame Output 16 | 4. Shiny 17 | 5. Parameterized reports 18 | 6. Controlling YAML through R 19 | 7. Speaking Python 20 | 21 | ### Exercises 22 | 23 | To get the materials for each part of this course packed in an RStudio Project, run: 24 | 25 | ````{.markdown} 26 | ```{{r}} 27 | usethis::use_course("rmd-to-quarto/computation") 28 | ``` 29 | ```` 30 | -------------------------------------------------------------------------------- /materials/3-computation/slides/images/code-yaml-intelligence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/3-computation/slides/images/code-yaml-intelligence.png -------------------------------------------------------------------------------- /materials/3-computation/slides/images/paged-df.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/3-computation/slides/images/paged-df.png -------------------------------------------------------------------------------- /materials/3-computation/slides/images/quarto-workshop-13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/3-computation/slides/images/quarto-workshop-13.jpg -------------------------------------------------------------------------------- /materials/3-computation/slides/images/r-in-yaml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/3-computation/slides/images/r-in-yaml.png -------------------------------------------------------------------------------- /materials/3-computation/slides/images/shiny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstudio-conf-2022/rmd-to-quarto/07cd728a9e5a67ed4da3f5be9a2841d9a9670033/materials/3-computation/slides/images/shiny.png -------------------------------------------------------------------------------- /materials/4-projects-and-publishing/exercises/ex-1.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ex-1" 3 | format: html 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /materials/4-projects-and-publishing/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Projects and Publishing" 3 | --- 4 | 5 | :::{.callout-warning} 6 | This is under construction until the start of the workshop. 7 | ::: 8 | 9 | > Learning goals 10 | 11 | ### Topics 12 | 13 | ### Exercises 14 | 15 | 16 | -------------------------------------------------------------------------------- /materials/4-projects-and-publishing/slides/projects-and-publishing.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Quarto" 3 | subtitle: "rstudio::conf(2022)
From R Markdown to Quarto" 4 | author: "Andrew Bray" 5 | format: 6 | revealjs: 7 | theme: ../../slides.scss 8 | transition: fade 9 | slide-number: true 10 | incremental: false 11 | center: false 12 | menu: false 13 | highlight-style: github 14 | progress: false 15 | code-overflow: wrap 16 | --- 17 | -------------------------------------------------------------------------------- /materials/5-presentations/exercises/ex-1.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ex-1" 3 | format: html 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /materials/5-presentations/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Presentations" 3 | --- 4 | 5 | :::{.callout-warning} 6 | This is under construction until the start of the workshop. 7 | ::: 8 | 9 | > Learning goals 10 | 11 | ### Topics 12 | 13 | ### Exercises 14 | 15 | 16 | -------------------------------------------------------------------------------- /materials/5-presentations/slides/presentations.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Quarto" 3 | subtitle: "rstudio::conf(2022)
From R Markdown to Quarto" 4 | author: "Andrew Bray" 5 | format: 6 | revealjs: 7 | theme: ../../slides.scss 8 | transition: fade 9 | slide-number: true 10 | incremental: false 11 | center: false 12 | menu: false 13 | highlight-style: github 14 | progress: false 15 | code-overflow: wrap 16 | --- 17 | -------------------------------------------------------------------------------- /materials/6-websites-and-books/exercises/ex-1.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ex-1" 3 | format: html 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /materials/6-websites-and-books/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Websites and Books" 3 | --- 4 | 5 | :::{.callout-warning} 6 | This is under construction until the start of the workshop. 7 | ::: 8 | 9 | > Learning goals 10 | 11 | ### Topics 12 | 13 | ### Exercises 14 | 15 | 16 | -------------------------------------------------------------------------------- /materials/6-websites-and-books/slides/websites-and-books.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Quarto" 3 | subtitle: "rstudio::conf(2022)
From R Markdown to Quarto" 4 | author: "Andrew Bray" 5 | format: 6 | revealjs: 7 | theme: ../../slides.scss 8 | transition: fade 9 | slide-number: true 10 | incremental: false 11 | center: false 12 | menu: false 13 | highlight-style: github 14 | progress: false 15 | code-overflow: wrap 16 | --- 17 | -------------------------------------------------------------------------------- /materials/7-workshop/exercises/ex-1.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ex-1" 3 | format: html 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /materials/7-workshop/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Workshop" 3 | --- 4 | 5 | :::{.callout-warning} 6 | This is under construction until the start of the workshop. 7 | ::: 8 | 9 | > Learning goals 10 | 11 | ### Topics 12 | 13 | ### Exercises 14 | 15 | 16 | -------------------------------------------------------------------------------- /materials/7-workshop/slides/workshop.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Quarto" 3 | subtitle: "rstudio::conf(2022)
From R Markdown to Quarto" 4 | author: "Andrew Bray" 5 | format: 6 | revealjs: 7 | theme: ../../slides.scss 8 | transition: fade 9 | slide-number: true 10 | incremental: false 11 | center: false 12 | menu: false 13 | highlight-style: github 14 | progress: false 15 | code-overflow: wrap 16 | --- 17 | -------------------------------------------------------------------------------- /materials/8-extending-quarto/exercises/ex-1.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ex-1" 3 | format: html 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /materials/8-extending-quarto/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Extending Quarto" 3 | --- 4 | 5 | :::{.callout-warning} 6 | This is under construction until the start of the workshop. 7 | ::: 8 | 9 | > Learning goals 10 | 11 | ### Topics 12 | 13 | ### Exercises 14 | 15 | 16 | -------------------------------------------------------------------------------- /materials/8-extending-quarto/slides/extending-quarto.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Quarto" 3 | subtitle: "rstudio::conf(2022)
From R Markdown to Quarto" 4 | author: "Andrew Bray" 5 | format: 6 | revealjs: 7 | theme: ../../slides.scss 8 | transition: fade 9 | slide-number: true 10 | incremental: false 11 | center: false 12 | menu: false 13 | highlight-style: github 14 | progress: false 15 | code-overflow: wrap 16 | --- 17 | -------------------------------------------------------------------------------- /materials/index.qmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Materials" 3 | --- 4 | 5 | #### Configuration 6 | 7 | Each session of the workshop features exercises that will help you learn Quarto by doing. To prepare, please install the following on your machine: 8 | 9 | - If you haven't already, please [sign-up](https://happygitwithr.com/github-acct.html) for a free GitHub account. 10 | - Install latest version of [RStudio](https://www.rstudio.com/products/rstudio/download/#download), v2022.07.0-548 or later 11 | - Install latest version of [Quarto](https://quarto.org/docs/get-started/) (v1.0.36 or greater) 12 | - After installing Quarto, open the terminal in RStudio and: 13 | - See [this guide](https://support.rstudio.com/hc/en-us/articles/115010737148-Using-the-RStudio-Terminal-in-the-RStudio-IDE) for details on using the terminal 14 | - Install/Update TinyTeX for PDFs with `quarto install tool tinytex` 15 | - Install/Update Chromium with `quarto install tool chromium` 16 | - Ideally upgrade/use to R 4.1 or R 4.2 17 | - Install these R packages: 18 | 19 | ```{r} 20 | #| eval: false 21 | #| echo: true 22 | pkg_list <- c("tidyverse", "quarto", "rmarkdown", "palmerpenguins") 23 | install.packages(pkg_list) 24 | ``` -------------------------------------------------------------------------------- /workshop-conf-2022.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: Sweave 13 | LaTeX: pdfLaTeX 14 | --------------------------------------------------------------------------------