-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathasciidoc-test.txt
127 lines (83 loc) · 3.36 KB
/
asciidoc-test.txt
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
AsciiDoc TextMate Bundle -- Test Document
=========================================
Optional Author Name <[email protected]>
Optional version, optional date
:Author: AlternativeWayToSetOptional Author Name
:Email: <[email protected]>
:Date: AlternativeWayToSetOptional date
:Revision: AlternativeWayToSetOptional version
.Attributes
There a lot of predefined attributes in AsciiDoc, Author is {author} Version is {revision} plus you can add your own {attributename}.
[[id]]
Block with id
(C) copyright, (TM) trademark, (R) registered trademark,
-- em dash, ... ellipsis, -> right arrow, <- left arrow, => right
double arrow, <= left double arrow.
forced +
line break
page break
<<<
ruler
'''''
normal, _italic_, *bold*, +mono+, #unquoted#.
Unconstrained**bold**Unconstrained
Unconstrained__italic__Unconstrained
Unconstrained++mono++Unconstrained
Unconstrained##Unquoted##Unconstrained
``quoted'', ^super^, ~sub~.
Command: `ls -al`
Path: '/some/filez.txt', '.b'
Escaped: \{qwe} and +++{qwe}+++
and also \_italic_, +++_italic_+++, $$<b>normal</b>$$
Red [red]+++`sum_(i=1)\^n i=(n(n+1))/2`$+++ AsciiMathML formula
the footnotes footnote:[<text>]do not include this]
the footnote refs: footnoteref:[<text>]do not include this]
the indexterms indexterm:[<primary>, <secondary>, <tertiary>] alternate: (((<primary>, <secondary>, <tertiary>))) more text
more indexterms indexterm2:[<primary>, <secondary>, <tertiary>] alternate: ((<primary>, <secondary>, <tertiary>)) more text
the macros include::<Pfad>/<Name>[text] some text
the images image:<Pfad>/<Name>[id="<Label>", width="50%"] some text
Used to specify hypertext link targets: [[id, xreflabel]] alternate: anchor:id[xreflabel]
Creates a hypertext link to a document anchor. <<id, caption>> alternate: xref:id[caption]
some links http://www.docbook.org/[DocBook.org] text
some links http://www.docbook.org/ text
some links mailto:[email protected][email Joe Bloggs] text
some links [email protected] text
//////////////////////////
CommentBlock
//////////////////////////
Contrary to popular belief, Lorem Ipsum is not simply random text.
++++++++++++++++++++++++++
PassthroughBlock
++++++++++++++++++++++++++
It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.
--------------------------
ListingBlock
--------------------------
Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage,
..........................
LiteralBlock
..........................
and going through the cites of the word in classical literature, discovered the undoubtable source.
**************************
SidebarBlock
**************************
Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC.
__________________________
QuoteBlock
__________________________
This book is a treatise on the theory of ethics, very popular during the Renaissance.
==========================
ExampleBlock:
==========================
The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
== Head 2
lore ipsum
=== Head 3
lore ipsum
=== Head 3
lore ipsum now _italics_
"hello" `hola' *hallo*
==== Head 4
lore ipsum
== Head 2
lore ipsum