Skip to content

Commit

Permalink
Code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl committed Aug 11, 2024
1 parent 4d990d9 commit aa17cea
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/md2html/fixtures/basic-new.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
<p>Text for first section</p>
<section><h2>Heading 3</h2>
<p>Text for first subsection</p>
<pre class="nohighlight"><code>
<span class="hljs-punctuation">{</span>
<span class="hljs-attr">&quot;foo&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-literal"><span class="hljs-keyword">true</span></span>
<span class="hljs-punctuation">}</span>
</code></pre>
<pre class="nohighlight"><code>
text/plain
</code></pre>
<pre class="highlight "><code>
no language
</code></pre>
<table>
<thead>
<tr>
Expand Down
13 changes: 13 additions & 0 deletions tests/md2html/fixtures/basic-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ Text for first section

Text for first subsection

```json
{
"foo": true
}
```

```text
text/plain
```

```
no language
```

Version | Date
--------|-----------
Expand Down

0 comments on commit aa17cea

Please sign in to comment.