This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/tea/example.tea
Oleh Prypin 6f43092173
Also add auto-updatable output-based tests to examplefiles (#1689)
Co-authored-by: Georg Brandl <georg@python.org>
2021-01-20 10:48:45 +01:00

34 lines
No EOL
391 B
Text

<% 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 & ";"
}
%>