Debian Codegraph @

examples/prism-ftl.html

raw symbols SCIP
1 <h2>Full example</h2>
2 <pre><code>&lt;html>
3 &lt;head>
4 &lt;title>Welcome!&lt;/title>
5 &lt;/head>
6 &lt;body>
7 &lt;h1>
8 Welcome ${user}&lt;#if user == "Big Joe">, our beloved leader&lt;/#if>!
9 &lt;/h1>
10 &lt;p>Our latest product:
11 &lt;a href="${latestProduct.url}">${latestProduct.name}&lt;/a>!
12 &lt;p>See what our happy customers have to say!&lt;/p>
13 &lt;ul>
14 &lt;#list userStories as story>
15 &lt;li>
16 &lt;p>${story.text?esc} - by &lt;span>${story.user.name}&lt;/span>
17 &lt;li>
18 &lt;/#list>
19 &lt;/ul>
20 &lt;/body>
21 &lt;/html></code></pre>