From the course: Data Science Reporting with Quarto for Python
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
YAML, Markdown, and Python
From the course: Data Science Reporting with Quarto for Python
YAML, Markdown, and Python
- [Instructor] All Quarto documents contain at least three ingredients. Let's break down the mandatory three ingredients in Quarto by taking a look at this seemingly complicated document. The top of every Quarto document is the YAML header. We then have our Python code chunks, and finally the text. And most of the content in Quarto is written with Markdown. Let's break these downin turn. The YAML header is mandatory and appears at the top of the document between two pairs of three dashes. It controls what type of output is rendered by the Quarto document, how that output is styled, and finally, it can be used to affect how code is evaluated during rendering. Let's see that in action in GitHub code spaces. So we've got a quarto-ingredients.qmd file open from the O3_02b folder. And what we're going to do is render this with our keyboard circuit command shift K. Pressing that keyboard shortcut spins up Quarto. It's going to render our document together, and when it's finished, it's going…
Contents
-
-
-
-
-
Creating a new Quarto document and rendering it in VS Code1m 25s
-
(Locked)
YAML, Markdown, and Python5m 4s
-
(Locked)
Structuring and formatting your Quarto text with Markdown4m 27s
-
(Locked)
Quarto format dictates how you apply advanced formatting4m 12s
-
(Locked)
Writing and running Quarto chunks4m 49s
-
(Locked)
Rendering vs. previewing Quarto files3m 48s
-
-
-
-
-
-