Markdown Basics
Last updated on 2026-01-05 | Edit this page
Overview
Questions
- What is Markdown?
- How do you use Markdown to write in Quarto?
- What are the most common parts of Markdown syntax?
Objectives
- Know the basic Markdown syntax.
- Know how to write a simple text, containing a variety of Markdown syntax.
Markdown Syntax
In order to use the source mode of Quarto, one needs to be able to write a document using the Markdown programming language. The relative simplicity and straightforardness of Markdown makes it one of the ideal programming languages for beginners. It is used by a variety of programms and exists in the background of most modern text based programms. For example, this page is based on Markdown as well! Markdown is designed as a simple and easy to understand programming language. As such there are only a few key features the user needs to know to create basic syntax in Markdown.
These features contain some of the most common elements of written texts, such as tables, links and footnotes. But also features used to visually improve your text with features such as bold or italicised writing, horizontal lines for textseperation or differently sized headers. The implementation of picrtures is also possible to implement pictures in Markdown. Some of the most useful parts of Markdown syntax are shown here:

Writing our paper with Markdown
Now that we know some of the basic syntax of Markdown, we can start to write our paper!
Lets start with some headers to give our paper some structure. For this we start by creating a basic structure using the different tiers of headers offered by markdown:
# Introduction
## History of the MOMA
### Founding
### Recent History
## Overview of the Dataset
# The Distribution of Art
## Subsections of the MOMA
## Forms of Artworks
### Distinction by Material
### Distinction by Origin
## Analysis of the Dataset
### Summary of Data
### Visualisations
# Final Thoughts
This structure, created by the different quantity of # in each line, creates a tiered layering of headers, subheaders and so on. The more # we put at the start of a line, the less “important” a header is. This newly created structure will later be used by quarto to create the section headers, as well as a table of contents. You can put up t0 six # in a line.
Now that we have our section headers, we can add the most important part of a paper: the text. For this we can simple add whatever text we want to insert between our headers:
This could look like this:
# Introduction
## History of the MOMA
### Founding
The MoMA was founded in 1929 in New York City by a group of patrons, including Abby Aldrich Rockefeller. Its mission was to introduce the public to modern art and cultivate appreciation for contemporary creative expression. Early acquisitions focused on European avant-garde works, and the museum quickly became a hub for exhibitions, education, and innovation in the arts.
### Recent History
Over the decades, MoMA has expanded both physically and conceptually. Renovations, new wings, and acquisitions have diversified its collection, integrating photography, design, and media arts. Recent decades saw increased international representation and digital initiatives, reflecting global contemporary practices. Today, MoMA balances historic modernist works with experimental contemporary pieces, maintaining its role as a dynamic cultural institution.
## Overview of the Dataset
Low lets add a few more visual elements to our texts. We could use for example an image and a table to do so.
In order to add a an image we can use either images from the internet by adding a link, or add a path to the location of the image on the device. Images are marked by an exclamation point, square brackets, round brackets and winged brackets. The quare brackets can be left empty, but otherwise contain an alternate text for the image. The round brackets contain the link or datapath of the image, and the winged brackets can be used to change the rendred images size and dimensions. This could look something like this:
Using a link:
{width=x height=300}
Using a local image. The image must be in the same folder as the Quarto document!
{width=x height=300}
If your images are not placed in the same folder as your Quarto document, you must place copy the complete path to the directory of your image into the brackets! For example :
{width=x height=300}
Now we can add a table to our document. For this we “draw” a table in Markdown like this:
## Subsections of the MOMA
| Name | Responcebility |
| -------- | ------- |
| Architecture and Design | Collect, manage, and exhibit architectural drawings and models, design objects, and graphic design works. |
| Drawings and Prints | Collect, manage, and exhibit modern and contemporary drawings and prints. |
| Film | Collect, manage, and exhibit film. The department consists of the following divisions: Film Archive, Film Study Center, Circulating Film Library, Exhibitions, and Programming. |
| Media and Performance | Collect, manage, and exhibit film. The department consists of the following divisions: Film Archive, Film Study Center, Circulating Film Library, Exhibitions, and Programming. |
| Painting and Sculpture | Collect, manage, and exhibit modern and contemporary painting and sculpture. |
| Photography | Collect, manage, and exhibit modern and contemporary photography |
| Publications | Produce and publish the Museum’s exhibition catalogues and other books, including digital publications. |
| Video (Digital Media) | Work with MoMA video producers to develop and produce content for MoMA’s YouTube Live series |
The different sections of the table are devided by |.
When we have now added our Table and Image to ourtext it Could look
something like this when rendered: 
Exercise:
Use your newly aquired knowledge in Markdown to fill your still empty Quarto documents with text. Try to use a variety of features stuch as pictures or line breaks, be creative!
Some Help
Should you need some help with Markdown or want to deepen your understanding of this extremely usefull language, there are a plethora of websites aimed at helping newcomers learn all there is about Matkdown. Websites like MarkdownGuide offer a wide variety of guides, cheat sheets and help.