Debian Codegraph @

examples/prism-ejs.html

raw symbols SCIP
1 <h2>Full example</h2>
2 <pre><code>&lt;h1>Let's have fun!&lt;/h1>
3 &lt;%
4 const fruits = ["Apple", "Pear", "Orange", "Lemon"];
5 const random = Array.from({ length: 198 }).map(x => Math.random());
6 %>
7
8 &lt;p>These fruits are amazing:&lt;/p>
9 &lt;ul>&lt;% for (const fruit of fruits) { %>
10 &lt;li>&lt;%=fruit%>s&lt;/li>&lt;% } %>
11 &lt;/ul>
12
13 &lt;p>Some random numbers:&lt;/p>
14
15 &lt;% random.forEach((c, i) => {
16 %> &lt;%- c.toFixed(10) + ((i + 1) % 6 === 0 ? " &lt;br>\n": "") %>&lt;%});%></code></pre>