summaryrefslogtreecommitdiff
path: root/demo/link.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/link.ur')
-rw-r--r--demo/link.ur7
1 files changed, 7 insertions, 0 deletions
diff --git a/demo/link.ur b/demo/link.ur
new file mode 100644
index 00000000..f9e33968
--- /dev/null
+++ b/demo/link.ur
@@ -0,0 +1,7 @@
+fun target () = return <xml><body>
+ Welcome!
+</body></xml>
+
+fun main () = return <xml><body>
+ <a link={target ()}>Go there</a>
+</body></xml>