- Open the AsciiDoctor editor.
- Type this following Asciidoctor code sample in Asciidoctor editor:
Content in document.
.Example 2. Table with header assigned to the options attribute
[cols="2*",options="header"]
|===
|Column 1, header row
|Column 2, header row
|Cell in column 1, row 2
|Cell in column 2, row 2
|Cell in column 1, row 3
|Cell in column 2, row 3
|=== - Result, similar like this:
Content in document.Table 1. Example 2. Table with header assigned to the options attribute Column 1, header row Column 2, header row Cell in column 1, row 2 Cell in column 2, row 2 Cell in column 1, row 3 Cell in column 2, row 3
Next click AsciiDoctor Table 2 >
Bibliography:
https://asciidoctor.org/
https://www.adoc-studio.app/
https://www.baeldung.com/
https://www.vogella.com/
lightweight markup language, document format, office digital file, documentation and manual, asciidoc
Tidak ada komentar:
Posting Komentar