description.adoc 1.74 KB
Newer Older
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
////
.Description list
[source]
----
CPU:: <1>
The brain of the computer. <2>
<3>
Hard drive::
Permanent storage for operating system and/or user files.
----
<1> Follow each term with two colons.
<2> Enter the definition text on a new line below the term.
<3> Enter a single blank line between each term/definition pair.

////

// tag::base[]
CPU:: The brain of the computer.
Hard drive:: Permanent storage for operating system and/or user files.
RAM:: Temporarily stores information the CPU uses during operation.
Keyboard:: Used to enter text or control items on the screen.
Mouse:: Used to point to and select items on your computer screen.
Monitor:: Displays information in visual form using text and graphics.
// end::base[]

// tag::base-horz[]
[horizontal]
CPU:: The brain of the computer.
Hard drive:: Permanent storage for operating system and/or user files.
RAM:: Temporarily stores information the CPU uses during operation.
// end::base-horz[]

33
34
35
36
37
38
39
// tag::qr-base[]
First term:: The description can be placed on the same line
as the term.
Second term::
Description of the second term.
The description can also start on its own line.
// end::qr-base[]
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

// tag::base-mix[]
Dairy::
* Milk
* Eggs
Bakery::
* Bread
Produce::
* Bananas
// end::base-mix[]

// tag::base-mix-alt[]
Dairy::

  * Milk
  * Eggs

Bakery::

  * Bread

Produce::

  * Bananas
// end::base-mix-alt[]

66
// in qr
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// tag::3-mix[]
Operating Systems::
  Linux:::
    . Fedora
      * Desktop
    . Ubuntu
      * Desktop
      * Server
  BSD:::
    . FreeBSD
    . NetBSD

Cloud Providers::
  PaaS:::
    . OpenShift
    . CloudBees
  IaaS:::
    . Amazon EC2
    . Rackspace
// end::3-mix[]

88
// in qr
89
90
// tag::qa[]
[qanda]
91
92
93
94
What is the answer?::
This is the answer.

Have you seen my duck?:: No.
95
// end::qa[]