From the course: Data Science Reporting with Quarto for Python
Creating a new Quarto document and rendering it in VS Code
From the course: Data Science Reporting with Quarto for Python
Creating a new Quarto document and rendering it in VS Code
- [Instructor] Let's create our first ever Quarto report in VS Code in the Codespace. So let's bring up the command palette with Command + Shift + P. And we're going to find the new documents command from Quarto. There it is. Let's click on that. And that's going to create a Quarto document with just enough content for it to work. But let's really make it our own by typing Hello world. And let's save this into the 03_01b folder. So we'll save that with Command + S. I'll navigate up a directory, let's go to 03_01b. We'll change the name of this file to first-report, we'll hit okay, and now we can see that .qmd file has been added to our folder. Now there's a keyboard shortcut you're going to be using all the time in Quarto in VS Code, which is Command + Shift + K. So let's use that keyboard shortcut, it's Control + Shift + K in Windows, by the way. And what that does is it renders the document in Quarto and it also previews the output. And so there we have it, side by side our input and our output document. That's the workflow in a nutshell. Next, let's dig into the three languages that you're going to use in your Quarto reports.
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
-
-
-
-
-
-