Quarto Markdown Basics: Part 3
Tables
A basic table
This table has two columns and three content rows. Use the vertical bar and horizontal dash to draw the table. The default style is applied giving you left-aligned content, horizontal lines, and some light formatting for a simple clean appearance.
Column A | Column B |
---|---|
content A1 | content B1 |
content A2 | content B2 |
content A3 | content B3 |
Column alignment
Use the colon symbol :
to indicate alignment as left, right, or center. Notice how the line of dashes has been adjusted:
|-----------------------------------|
|:----------|----------:|:---------:|
<-Left | Right-> | Center |
---|---|---|
content A1 | content B1 | content C1 |
content A2 | content B2 | content C2 |
content A3 | content B3 | content C3 |