File: mmark.test

package info (click to toggle)
golang-github-gomarkdown-markdown 0.0~git20231115.a660076-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,168 kB
  • sloc: sh: 26; makefile: 5
file content (233 lines) | stat: -rw-r--r-- 3,730 bytes parent folder | download | duplicates (2)
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
# Test 1
+++
<h1>Test 1</h1>
+++
.# Test 2
+++
<h1 class="special">Test 2</h1>
+++
# Test 3
{frontmatter}
# Section in matter
{mainmatter}
+++
<h1>Test 3</h1>
<section data-matter="front">
<h1>Section in matter</h1>
</section>
<section data-matter="main"></section>
+++
# Test Code Captions
~~~ go
println("hi")
~~~
Figure: This *is* a
  caption.
+++
<h1>Test Code Captions</h1>
<figure>
<pre><code class="language-go">println(&quot;hi&quot;)
</code></pre>
<figcaption>This <em>is</em> a
  caption.</figcaption>
</figure>
+++
# Test Quote Captions
> To be, or not to be

Quote: Shakespeare.
+++
<h1>Test Quote Captions</h1>
<figure>
<blockquote>
<p>To be, or not to be</p>
</blockquote>
<figcaption>Shakespeare.</figcaption>
</figure>
+++
> Bare
+++
<blockquote>
<p>Bare</p>
</blockquote>
+++
# Test Citations
[@RFC1034]
+++
<h1>Test Citations</h1>

<p><cite class="informative"><a href="#RFC1034"><sup>[RFC1034]</sup></a></cite></p>
+++
# Test Multiple Citations
[@RFC1034; @!RFC1035]
+++
<h1>Test Multiple Citations</h1>

<p><cite class="informative"><a href="#RFC1034"><sup>[RFC1034]</sup></a></cite><cite class="normative"><a href="#RFC1035"><sup>[RFC1035]</sup></a></cite></p>
+++
# Test Multiple Citations with modifier
[@-RFC1034] [@?RFC1035]
+++
<h1>Test Multiple Citations with modifier</h1>

<p><cite class="suppressed"><a href="#RFC1034"><sup>[RFC1034]</sup></a></cite> <cite class="informative"><a href="#RFC1035"><sup>[RFC1035]</sup></a></cite></p>
+++
{.myclass1 .myclass2}
~~~
code
~~~
+++
<pre><code class="myclass1 myclass2">code
</code></pre>
+++
# Index
(!myitem, subitem)
(!!item)
(!!item,   subtitem  )
+++
<h1>Index</h1>

<p><span class="index" id="idxref:0"></span>
<span class="index" id="idxref:1"></span>
<span class="index" id="idxref:2"></span></p>
+++
# Cross ref
Look at (#basics)
+++
<h1>Cross ref</h1>

<p>Look at <a href="#basics"></a></p>
+++
Name    | Age
--------|------
Bob     | 27
Alice   | 23
Table: Look at this table!
+++
<figure>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>

<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>

<tr>
<td>Alice</td>
<td>23</td>
</tr>
</tbody>
</table>
<figcaption>Look at this table!</figcaption>
</figure>
+++
# Aside
A> This is an aside
+++
<h1>Aside</h1>

<aside>
<p>This is an aside</p>
</aside>
+++
{.myclass3}
.# Preface section
+++
<h1 class="special" class="myclass3">Preface section</h1>
+++
{.myclass4}
A> hello
+++
<aside class="myclass4">
<p>hello</p>
</aside>
+++
{.thick}
********
+++
<hr class="thick">
+++
{.myclass2}
Name    | Age
--------|------
Bob     | 27
+++
<table class="myclass2">
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>

<tbody>
<tr>
<td>Bob</td>
<td>27</td>
</tr>
</tbody>
</table>
+++
{.myclass3}
Just some text
+++
<p class="myclass3">Just some text</p>
+++
{type="roman"}
1. List item1
2. List item2
+++
<ol type="roman">
<li>List item1</li>
<li>List item2</li>
</ol>
+++
{.myclass3}
> Hallo

Quote: Someone
+++
<figure>
<blockquote class="myclass3">
<p>Hallo</p>
</blockquote>
<figcaption>Someone</figcaption>
</figure>
+++
{.myclass5}
~~~
println("Yep!")
~~~
Figure: Go code
+++
<figure>
<pre><code class="myclass5">println(&quot;Yep!&quot;)
</code></pre>
<figcaption>Go code</figcaption>
</figure>
+++
water is H~2~O
+++
<p>water is H<sub>2</sub>O</p>
+++
1024 is 2^10^
+++
<p>1024 is 2<sup>10</sup></p>
+++
!---
![Alt text](/path/to/img1.jpg "Optional title")
![Alt text](/path/to/img2.jpg "Optional title")
!---
Figure: this is a figure containing subfigures.
+++
<figure><p><img src="/path/to/img1.jpg" alt="Alt text" title="Optional title" />
<img src="/path/to/img2.jpg" alt="Alt text" title="Optional title" /></p>
<figcaption>this is a figure containing subfigures.</figcaption>
</figure>