id.adoc 1.49 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
// tag::block-id-brackets[]
[[notice]]
This paragraph gets a lot of attention.
// end::block-id-brackets[]

// tag::block-id-shorthand[]
[#notice]
This paragraph gets a lot of attention.
// end::block-id-shorthand[]

11
// used in qr
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// tag::anchor[]
// tag::anchor-brackets[]
[[bookmark-a]]Inline anchors make arbitrary content referenceable.
// end::anchor-brackets[]

// tag::anchor-shorthand[]
[#bookmark-b]#Inline anchors can be applied to a phrase like this one.#
// end::anchor-shorthand[]

anchor:bookmark-c[]Use a cross reference to link to this location.

[[bookmark-d,last paragraph]]The xreflabel attribute will be used as link text in the cross-reference link.
// end::anchor[]

// tag::anchor-wrong[]
[[anchor-point]]* list item text
// end::anchor-wrong[]

30
// tag::anchor-list-item[]
31
32
33
* First item
* [[step2]]Second item
* Third item
34
35
36
37
38
39
40
41
42
// end::anchor-list-item[]

// tag::anchor-dlist-item[]
[[cpu,CPU]]Central Processing Unit (CPU)::
The brain of the computer.

[[hard-drive]]Hard drive::
Permanent storage for operating system and/or user files.
// end::anchor-dlist-item[]
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

// tag::anchor-header[]
=== Version 4.9 [[version-4_9]]
// end::anchor-header[]

// tag::anchor-header-extra[]
=== [[current]]Version 4.9 [[version-4_9]]
// end::anchor-header-extra[]

// tag::anchor-xreflabel[]
[[tiger-image,Image of a tiger]]
.This image represents a Bengal tiger also called the Indian tiger
image::tiger.png[]
// end::anchor-xreflabel[]

// tag::anchor-macro[]
anchor:tiger-image[Image of a tiger]
// end::anchor-macro[]