nashorn/test/script/markdown/github-style-codeblock.js.EXPECTED
author sundar
Wed, 16 Dec 2015 16:42:03 +0530
changeset 34735 0f41d334aa24
parent 22371 e6b607104dc6
permissions -rw-r--r--
8145486: jjs should support documentation key shortcut in interactive mode Reviewed-by: mhaupt, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22371
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     1
<p>Define a function in javascript:</p>
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     2
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     3
<pre><code>function MyFunc(a) {
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     4
    var s = '`';
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     5
}
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     6
</code></pre>
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     7
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     8
<p>And some HTML</p>
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
     9
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
    10
<pre><code class="html">&lt;div&gt;HTML!&lt;/div&gt;
e6b607104dc6 8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff changeset
    11
</code></pre>