Skip to content
Metanorma

Tables

Tables are a useful tool to collect and display measured data. As AsciiDoc is all text input, it uses specific symbols to determine where new table rows and columns begin. A simple table looks like this:

[cols="1,1"] <1>
.A table with a title <2>
|=== <3>
|Cell in column 1, header row |Cell in column 2, header row <4>
|Cell in column 1, row 2 
|Cell in column 2, row 2 <5>
|=== <6>

Practice time

:exercise-file: exercise-2-3-3 include::exercises.adoc[tags=intro;exercise-2-3-3]

Let’s look at inserting images next.

+++ <div class="cta tutorial"><a class="button" href="/learn/lessons/lesson-2-3-4/">Start next lesson »</a></div> ++++

Edit this page on GitHub →