comparison website/src/tutorial.html.luan @ 1078:99f1c125926f

tutorial fix
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2016 20:41:03 -0700
parents 2113294ccc6d
children 5dbb552075ff
comparison
equal deleted inserted replaced
1077:ca968ef1747a 1078:99f1c125926f
27 %> 27 %>
28 Hello World 28 Hello World
29 <% 29 <%
30 ]]%></pre> 30 ]]%></pre>
31 31
32 <p>To run this, type <b>luan file:hello</b> on the command line. This should print <b>Hello World</b>.</p> 32 <p>To run this, type <b>luan hello.luan</b> on the command line. This should print <b>Hello World</b>.</p>
33 33
34 <p>The syntax here is based on <a href="http://en.wikipedia.org/wiki/JavaServer_Pages">JSP</a>. Let's change it a little:</p> 34 <p>The syntax here is based on <a href="http://en.wikipedia.org/wiki/JavaServer_Pages">JSP</a>. Let's change it a little:</p>
35 35
36 <pre><%=Html.encode[[ 36 <pre><%=Html.encode[[
37 local name = "Bob" 37 local name = "Bob"