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

13 lines
184 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) {
// ...
}
</code></pre>
And some HTML
<pre><code class="html">&lt;div&gt;HTML!&lt;/div&gt;
</code></pre>