showdown/test/cases/github-style-codeblock.html

12 lines
196 B
HTML
Raw Normal View History

2012-06-14 13:05:31 +08:00
<p>Define a function in javascript:</p>
<pre><code>function MyFunc(a) {
var s = '`';
2012-06-14 13:05:31 +08:00
}
</code></pre>
2012-06-14 13:43:46 +08:00
<p>And some HTML</p>
2012-06-14 13:05:31 +08:00
<pre><code class="html">&lt;div&gt;HTML!&lt;/div&gt;
2015-01-16 05:21:33 +08:00
</code></pre>