Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.
/ marked Public archive
forked from markedjs/marked

Commit aae62c3

Browse files
committed
place new tests in test/new.
1 parent 91dcdcb commit aae62c3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

test/new/gfm_code.html

+5
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@
33
<pre><code class="lang-bash">echo &quot;hello, ${WORLD}&quot;</code></pre>
44
<pre><code class="lang-longfence">Q: What do you call a tall person who sells stolen goods?</code></pre>
55
<pre><code class="lang-ManyTildes">A longfence!</code></pre>
6+
<p>How about an empty code block?</p>
7+
<pre><code class="lang-js"></code></pre>
8+
<p>How about a code block with only an empty line?</p>
9+
<pre><code class="lang-js">
10+
</code></pre>

test/new/gfm_code.text

+11
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,14 @@ Q: What do you call a tall person who sells stolen goods?
1414
~~~~~~~~~~ ManyTildes
1515
A longfence!
1616
~~~~~~~~~~
17+
18+
How about an empty code block?
19+
20+
```js
21+
```
22+
23+
How about a code block with only an empty line?
24+
25+
```js
26+
27+
```

0 commit comments

Comments
 (0)