Differential D29700 Diff 87281 documentation/content/en/books/fdp-primer/asciidoctor-primer/_index.adoc
Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/books/fdp-primer/asciidoctor-primer/_index.adoc
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
AsciiDoctor supports six headings levels. | AsciiDoctor supports six headings levels. | ||||
If the document type is `article` only one level 0 (`=`) can be used. | If the document type is `article` only one level 0 (`=`) can be used. | ||||
If the document type is `book` then there can be multiple level 0 (`=`) headings. | If the document type is `book` then there can be multiple level 0 (`=`) headings. | ||||
This is an example of headings in an `article`. | This is an example of headings in an `article`. | ||||
.... | .... | ||||
\= Document Title (Level 0) | = Document Title (Level 0) | ||||
\== Level 1 Section Title | == Level 1 Section Title | ||||
\=== Level 2 Section Title | === Level 2 Section Title | ||||
\==== Level 3 Section Title | ==== Level 3 Section Title | ||||
\===== Level 4 Section Title | ===== Level 4 Section Title | ||||
\====== Level 5 Section Title | ====== Level 5 Section Title | ||||
\== Another Level 1 Section Title | == Another Level 1 Section Title | ||||
.... | .... | ||||
[WARNING] | [WARNING] | ||||
==== | ==== | ||||
Section levels cannot be skipped when nesting sections. | Section levels cannot be skipped when nesting sections. | ||||
The following syntax is not correct. | The following syntax is not correct. | ||||
.... | .... | ||||
\= Document Title | = Document Title | ||||
\== Level 2 | == Level 2 | ||||
\==== Level 4 | ==== Level 4 | ||||
.... | .... | ||||
==== | ==== | ||||
[[asciidoctor-paragraphs]] | [[asciidoctor-paragraphs]] | ||||
== Paragraphs | == Paragraphs | ||||
Paragraphs don't require special markup in AsciiDoc. | Paragraphs don't require special markup in AsciiDoc. | ||||
A paragraph is defined by one or more consecutive lines of text. | A paragraph is defined by one or more consecutive lines of text. | ||||
To create a new paragraph leave one blank line. | To create a new paragraph leave one blank line. | ||||
For example, this is a heading with two paragraphs. | For example, this is a heading with two paragraphs. | ||||
.... | .... | ||||
\= This is the heading | = This is the heading | ||||
This is the first paragraph. | This is the first paragraph. | ||||
This is also the first paragraph. | This is also the first paragraph. | ||||
And this is the second paragraph. | And this is the second paragraph. | ||||
.... | .... | ||||
[[asciidoctor-lists]] | [[asciidoctor-lists]] | ||||
== Lists | == Lists | ||||
AsciiDoctor supports two type of lists: ordered and unordered. | AsciiDoctor supports two type of lists: ordered and unordered. | ||||
To get more information about lists check link:https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#lists[AsciiDoc Syntax Quick Reference]. | To get more information about lists check link:https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#lists[AsciiDoc Syntax Quick Reference]. | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |