Add examples and move tests to the tests/ folder
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
procedure my_page_template(title, content) {
|
||||
<html>
|
||||
<head>
|
||||
<title>\{escape title}</title>
|
||||
</head>
|
||||
<body>
|
||||
\{content}
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
|
||||
my_page_template("Welcome to my webpage!", <article>Content of my page</article>)
|
||||
Reference in New Issue
Block a user