From e68b241fe4478a2971511b4cd65da80c096f34e5 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Fri, 15 May 2015 17:24:03 -0400 Subject: [PATCH] heredoc example --- ex.moon | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ex.moon b/ex.moon index 636f38c..4144dfd 100644 --- a/ex.moon +++ b/ex.moon @@ -66,3 +66,26 @@ visible_item: @hidden_item } people: [@person_one @person_two] + +# if you need to embed a large block of text, bash-style HERE documents are +# supported. + +startup: < } +because there are no types inside of here documents; the whole thing is just +one big string. + +This is the last line of the here doc. The next line is the terminator. +EOF + +# This comment is outside of the heredoc.