2012-06-14 13:05:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
<p>Define a function in javascript:</p>
|
|
|
|
|
|
|
|
<pre><code>function MyFunc(a) {
|
|
|
|
// ...
|
|
|
|
}
|
|
|
|
</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"><div>HTML!</div>
|
|
|
|
</code></pre>
|