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

13 lines
197 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;
</code></pre>