Skip to content

Commit

Permalink
Update tables_symbols_math.adoc
Browse files Browse the repository at this point in the history
simple table example

Signed-off-by: Kersten Richter <[email protected]>
  • Loading branch information
kersten1 authored May 8, 2024
1 parent c715d52 commit b21cec6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/tables_symbols_math.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,32 @@ Asciidoc makes standard tables easy and also supports the creation of complex ta
*Never* use automated wrapping for table titles, figure captions, and example captions. Asciidoctor reads a hard return as an indicator to start a new "Normal" paragraph.
====

=== Simple table

[source]
----
[cols="1,1"]
|===
|Cell in column 1, row 1
|Cell in column 2, row 1
|Cell in column 1, row 2
|Cell in column 2, row 2
|===
----

Results in the following table.

[cols="1,1"]
|===
|Cell in column 1, row 1
|Cell in column 2, row 1

|Cell in column 1, row 2
|Cell in column 2, row 2
|===


=== More on examples

AsciiDoc tables can also be created directly from CSV data. Just set the format block attribute to CSV and insert CSV data inside the block delimiters directly:
Expand Down

0 comments on commit b21cec6

Please sign in to comment.