Source

pygments-main / tests / examplefiles / example.tea

Full commit
<% template example() {...}
a = 123
b = "test";
c = 4.5
d = call other()
f = other2()

define g as String

h = true
i = false
j = null
%>
<html>
<head>
<title>Example<title>
<body>
<a href="http://example.com">Test link</a>
<% // Second block
if(a == 123 and b == "test") {
    'yes'
} else {
    'no'
}

foreach(i in 1..10) {
    i & ","
}

foreach(i in #(1,2,3) reverse {
    i & ";"
}

%>