Lines 44-50
To remove [.filename]#/tmp/foo#, use man:rm[1].
Link Here
|
44 |
% rm /tmp/foo |
44 |
% rm /tmp/foo |
45 |
---- |
45 |
---- |
46 |
|
46 |
|
47 |
It is easy to see which parts are filenames, which are commands to be typed in, which parts are references to manual pages, and so on. But the computer processing the document cannot. For this we need markup. |
47 |
It is easy for the reader to see which parts are filenames, which are commands to be typed in, which parts are references to manual pages, and so on. But the computer processing the document cannot reliably determine this. For this we need markup. |
48 |
|
48 |
|
49 |
|
49 |
|
50 |
The previous example is actually represented in this document like this: |
50 |
The previous example is actually represented in this document like this: |
Lines 61-67
To remove [.filename]#/tmp/foo#, use man:rm[1].
Link Here
|
61 |
[[asciidoctor-headings]] |
61 |
[[asciidoctor-headings]] |
62 |
== Headings |
62 |
== Headings |
63 |
|
63 |
|
64 |
AsciiDoctor support six headings levels. If the document type is `article` only one level 0 (`=`) can be used. If the document type is `book` can be multiple level 0 (`=`). |
64 |
AsciiDoctor supports six headings levels. 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. |
65 |
|
65 |
|
66 |
This is an example of headings in an `article`. |
66 |
This is an example of headings in an `article`. |
67 |
|
67 |
|
Lines 101-112
The following syntax is not correct.
Link Here
|
101 |
|
101 |
|
102 |
Paragraphs don't require special markup in AsciiDoc. A paragraph is defined by one or more consecutive lines of text. To create a new paragraph leave one blank line. |
102 |
Paragraphs don't require special markup in AsciiDoc. A paragraph is defined by one or more consecutive lines of text. To create a new paragraph leave one blank line. |
103 |
|
103 |
|
104 |
For example, this is a heading with two paragraphs |
104 |
For example, this is a heading with two paragraphs. |
105 |
|
105 |
|
106 |
.... |
106 |
.... |
107 |
= This is the heading |
107 |
= This is the heading |
108 |
|
108 |
|
109 |
This is the firts paragraph. |
109 |
This is the first paragraph. |
110 |
|
110 |
|
111 |
And this is the second paragraph. |
111 |
And this is the second paragraph. |
112 |
.... |
112 |
.... |
Lines 114-120
And this is the second paragraph.
Link Here
|
114 |
[[asciidoctor-lists]] |
114 |
[[asciidoctor-lists]] |
115 |
== Lists |
115 |
== Lists |
116 |
|
116 |
|
117 |
AsciiDoctor support 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] |
117 |
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] |
118 |
|
118 |
|
119 |
[[asciidoctor-ordered-lists]] |
119 |
[[asciidoctor-ordered-lists]] |
120 |
=== Ordered lists |
120 |
=== Ordered lists |
Lines 142-148
And this would be rendered as.
Link Here
|
142 |
|
142 |
|
143 |
To create an unordered list use the `.` character. |
143 |
To create an unordered list use the `.` character. |
144 |
|
144 |
|
145 |
For example this is an unordered lists. |
145 |
For example this is an unordered list. |
146 |
|
146 |
|
147 |
.... |
147 |
.... |
148 |
. First item |
148 |
. First item |
Lines 172-178
link:https://www.FreeBSD.org[FreeBSD]
Link Here
|
172 |
|
172 |
|
173 |
[NOTE] |
173 |
[NOTE] |
174 |
==== |
174 |
==== |
175 |
As the AsciiDoctor documentation points the `link` macro is not required when the target starts with a URL scheme like `https`. But is a good practice to ensure that AsciiDoctor renders correctly the link. Specially in non-latin languages like Japanese. |
175 |
As the AsciiDoctor documentation describes, the `link` macro is not required when the target starts with a URL scheme like `https`. However, it is a good practice to do this anyway to ensure that AsciiDoctor renders the link correctly, especially in non-latin languages like Japanese. |
176 |
==== |
176 |
==== |
177 |
|
177 |
|
178 |
[[asciidoctor-links-internal]] |
178 |
[[asciidoctor-links-internal]] |
Lines 199-202
link:{ipsec-must}[IPSec-Must article]
Link Here
|
199 |
[[asciidoctor-conclusion]] |
199 |
[[asciidoctor-conclusion]] |
200 |
== Conclusion |
200 |
== Conclusion |
201 |
|
201 |
|
202 |
That is the conclusion of this AsciiDoctor primer. For reasons of space and complexity, several things have not been covered in depth (or at all). |
202 |
This is the conclusion of this AsciiDoctor primer. For reasons of space and complexity, several things have not been covered in depth (or at all). |