File: FencedCodeBlock_EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK.tests

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 (205 lines) | stat: -rw-r--r-- 2,823 bytes parent folder | download
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
``` go
func foo() bool {
	return true;
}
```
+++
<pre><code class="language-go">func foo() bool {
	return true;
}
</code></pre>
+++
``` c
/* special & char < > " escaping */
```
+++
<pre><code class="language-c">/* special &amp; char &lt; &gt; &quot; escaping */
</code></pre>
+++
``` c
no *inline* processing ~~of text~~
```
+++
<pre><code class="language-c">no *inline* processing ~~of text~~
</code></pre>
+++
```
No language
```
+++
<pre><code>No language
</code></pre>
+++
``` {ocaml}
language in braces
```
+++
<pre><code class="language-ocaml">language in braces
</code></pre>
+++
```    {ocaml}
with extra whitespace
```
+++
<pre><code class="language-ocaml">with extra whitespace
</code></pre>
+++
```{   ocaml   }
with extra whitespace
```
+++
<pre><code class="language-ocaml">with extra whitespace
</code></pre>
+++
~ ~~ java
With whitespace
~~~
+++
<p>~ ~~ java
With whitespace
~~~</p>
+++
~~
only two
~~
+++
<p>~~
only two
~~</p>
+++
```` python
extra
````
+++
<pre><code class="language-python">extra
</code></pre>
+++
~~~ perl
three to start, four to end
~~~~
+++
<p>~~~ perl
three to start, four to end
~~~~</p>
+++
~~~~ perl
four to start, three to end
~~~
+++
<p>~~~~ perl
four to start, three to end
~~~</p>
+++
~~~ bash
tildes
~~~
+++
<pre><code class="language-bash">tildes
</code></pre>
+++
``` lisp
no ending
+++
<p>``` lisp
no ending</p>
+++
~~~ lisp
end with language
~~~ lisp
+++
<p>~~~ lisp
end with language
~~~ lisp</p>
+++
```
mismatched begin and end
~~~
+++
<p>```
mismatched begin and end
~~~</p>
+++
~~~
mismatched begin and end
```
+++
<p>~~~
mismatched begin and end
```</p>
+++
   ``` oz
leading spaces
```
+++
<pre><code class="language-oz">leading spaces
</code></pre>
+++
  ``` oz
leading spaces
 ```
+++
<pre><code class="language-oz">leading spaces
</code></pre>
+++
 ``` oz
leading spaces
  ```
+++
<pre><code class="language-oz">leading spaces
</code></pre>
+++
``` oz
leading spaces
   ```
+++
<pre><code class="language-oz">leading spaces
</code></pre>
+++
    ``` oz
leading spaces
    ```
+++
<pre><code>``` oz
</code></pre>

<p>leading spaces</p>

<pre><code>```
</code></pre>
+++
1. Ordered list item above it without new line:
```go
 fmt.Println("some code")

 fmt.Println("some more code")
```
+++
<ol>
<li>Ordered list item above it without new line:</li>
</ol>

<pre><code class="language-go"> fmt.Println(&quot;some code&quot;)

 fmt.Println(&quot;some more code&quot;)
</code></pre>
+++
* Unordered list item above it without new line
```go
 fmt.Println("some code")

 fmt.Println("some more code")
```
* Another unordered list
+++
<ul>
<li>Unordered list item above it without new line</li>
</ul>

<pre><code class="language-go"> fmt.Println(&quot;some code&quot;)

 fmt.Println(&quot;some more code&quot;)
</code></pre>

<ul>
<li>Another unordered list</li>
</ul>