2,113
edits
Line 157: | Line 157: | ||
</kua> | </kua> | ||
==== Special delimiters ==== | ==== Special delimiters ==== | ||
:1. Back ticks surrounding text passed directly to a context will be stripped, such that the resulting text will get treated as a script block to be run in the context. Normally all text is passed verbatim, including quotes. | :1. Back ticks surrounding text passed directly to a context will be stripped, such that the resulting text will get treated as a script block to be run in the context. Normally all text is passed verbatim, including quotes. This is useful for multi-line scripts. | ||
<kua> | <kua> | ||
> lua run 'print "bob"' | > lua run 'print "bob"' |