3c Activity: Presentations and Other Outputs
Goal
We will add a Quarto slide deck to the same practice project, reuse generated values and a figure in the slides, render the project, and commit the source files.
Note: The checkboxes on this page are only stored locally in your browser. They are not submitted or synced anywhere.
Progress: 0 / 0 steps complete.
Activity
Open the python_tmr_practice repository in Codespaces.
This should be the same repository you used for the manuscript and generated-results activities.
At the top level of the repository, create a file named slides.qmd.
Paste this starter deck into the file:
Click inside the block to select it, then copy and paste it into slides.qmd.
Save the file.
Open _quarto.yml.
In the render list, add slides.qmd:
render:
- index.qmd
- paper.qmd
- slides.qmdIn the navigation list, add a link to the slides:
- text: "Slides"
href: slides.qmdThe full _quarto.yml should still include the bibliography, CSL, and HTML format settings from the manuscript activity.
Open index.qmd.
Add a link to the slide deck under ## Outputs:
- [Research Presentation](slides.qmd)Save the file.
Render the slide deck:
quarto render slides.qmdThen render the whole project:
quarto renderOpen the rendered slide deck and look for:
- the title slide;
- the inline sample size;
- the inline coefficient and p value;
- the scatter matrix figure.
Use Source Control:
- Review the changes.
- Stage
slides.qmd,_quarto.yml, andindex.qmd. - Commit with a message such as:
Added Quarto research slides.
Push or sync the commit to GitHub.