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
|
TEST MACRO AND STYLES
===========================================
STYLES
------
[quote, "LOREM IPSUM", "DOLOR SIT(1991)"]
LOREM IPSUM DOLOR SIT AMET, CONSECTETUR ADIPISICING ELIT, SED DO EIUSMOD TEMPOR INCIDIDUNT UT LABORE ET DOLORE MAGNA ALIQUA. UT ENIM AD MINIM VENIAM, QUIS NOSTRUD EXERCITATION ULLAMCO LABORIS NISI UT ALIQUIP EX EA COMMODO CONSEQUAT. DUIS AUTE IRURE DOLOR IN REPREHENDERIT IN VOLUPTATE VELIT ESSE CILLUM DOLORE EU FUGIAT NULLA PARIATUR. EXCEPTEUR SINT OCCAECAT CUPIDATAT NON PROIDENT, SUNT IN CULPA QUI OFFICIA DESERUNT MOLLIT ANIM ID EST LABORUM.
[verse, "LOREM IPSUM VERSE", "DOLOR SIT VERSE"]
LOREM IPSUM DOLOR SIT AMET,
CONSECTETUR ADIPISICING ELIT,
SED DO EIUSMOD TEMPOR INCIDIDUNT
UT LABORE ET DOLORE MAGNA ALIQUA.
[verse, "LOREM IPSUM VERSE2", "DOLOR SIT VERSE2"]
____
LOREM IPSUM DOLOR SIT AMET,
CONSECTETUR ADIPISICING ELIT,
SED DO EIUSMOD TEMPOR INCIDIDUNT
UT LABORE ET DOLORE MAGNA ALIQUA.
____
[icon="FOO.PNG,", caption="Lorem ipsum"]
LOREM IPSUM DOLOR SIT AMET, CONSECTETUR ADIPISICING ELIT, SED DO EIUSMOD TEMPOR INCIDIDUNT UT LABORE ET DOLORE MAGNA ALIQUA.
BLOCK MACROS
------------
PARAGRAPH BEFORE BLOCKIMAGE
image::FOO.PNG["BLOCK IMAGE ALT"]
PARAGRAPH AFTER BLOCKIMAGE
image::FOO.PNG["BLOCK IMAGE WITH TITLE", title="MY IMAGE TITLE"]
.EXTERNAL IMAGE TITLE
image::FOO.PNG["BLOCK IMAGE WITH EXTERNAL TITLE"]
image::FOO.PNG[title="IMAGE WITH TITLE BUT WITHOUT ALT-TEXT"]
BLOCK IMAGE MACRO WITHOUT ALT TEXT:
image::FOO.PNG[]
ifeval::[42 == 42]
// Empty macro target:
endif::[]
ifeval::["{foo}" == "bar"]
include::{foo-path}bar.adoc[leveloffset=+1, lines=7..21;32..-1]
endif::[]
|