forked from ClusterLabs/pacemaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasciidoc.reference
70 lines (54 loc) · 1.4 KB
/
asciidoc.reference
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
= Single-chapter part of the documentation =
== Go-to reference chapter for how we use AsciiDoc on this project ==
[NOTE]
======
This is *not* an attempt for fully self-hosted AsciiDoc document,
consider it a plaintext full of AsciiDoc samples (it's up to the reader
to recognize the borderline) at documentation writers' disposal
to somewhat standardize the style{empty}footnote:[
style of both source notation and final visual appearance
].
See also:
http://powerman.name/doc/asciidoc
======
Emphasis: _some test_
Mono: +some text+
Strong: *some text*
Super: ^some text^
Sub: ~some text~
Quotes:
``double quoted''
`single quoted'
Command: `some-tool --with option`
Newly introduced term:
'some text' (another form of emphasis as of this edit)
File: mono
Literal: mono
Tool: command
Option: mono
Replaceable: emphasis mono
Varname: mono
Term encountered on system (e.g., menu choice, hostname):
strong
.Title for Example
=====
Some text
=====
.Title for Example with XML Listing
=====
[source,XML]
-----
<some xml=here/>
-----
=====
Naked code listing:
(Use 'C' and a leading '#' instead of 'Bash' when commands are being show)
[source,C]
-----
# some command --here
-----
Section anchors:
[[s-name]]
=== Some Section Title ===
References to section anchors:
<<s-name>> or <<s-name,Alternate Text>>