Knowledge Quiz: Quarto and Markdown

Note
  • Click the check-mark button to check your answer.
  • Click the question-mark button to see an explanation of the solution.

Which capability does Quarto have that plain Markdown lacks?

  • Wrong: heading and list formatting is a core Markdown feature, available without Quarto.
  • Wrong: hyperlinks are supported by Markdown alone.
  • Wrong: emphasis (bold/italic) is a core Markdown feature.
  • Correct: Markdown has no computation layer; Quarto adds the ability to execute code and embed dynamic results.

What is the primary purpose of the YAML header at the top of a Quarto document?

  • Correct: the YAML header configures metadata (title, author) and rendering options (output format, table of contents, etc.).
  • Wrong: the YAML header has nothing to do with RStudio keyboard shortcuts.
  • Wrong: narrative text belongs in the Markdown body, not the YAML header.
  • Wrong: R code is executed in code chunks in the document body, not in the YAML header.

You render an HTML report and want to email just the single .html file to your instructor as a homework submission. Which YAML option should you add to make sure all images and plots are embedded directly in that file, rather than referenced externally?

  • Wrong: number-sections adds section numbering; it has no effect on whether resources are embedded.
  • Correct: embed-resources: true embeds all supporting files, such as images and plots, directly into a single, portable .html file.
  • Wrong: code-fold controls whether code is collapsible; it has no effect on whether resources are embedded.
  • Wrong: toc adds a table of contents; it has no effect on whether resources are embedded.

You already have a Quarto report rendered as HTML and want to turn the same analysis into a revealjs slideshow. What is the most direct way to do this?

  • Correct: changing format to revealjs is the key step, though the content typically still needs to be reorganized into slide-sized chunks.
  • Wrong: this bypasses Quarto entirely and isn’t how Quarto presentations are created.
  • Wrong: there is no need to convert to PDF as an intermediate step.
  • Wrong: presentations reuse the same YAML and Markdown structure as documents; a full rewrite isn’t necessary.
Back to top