comparison website/src/tutorial.html.luan @ 1045:48506d03e230

tutorial fix
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 06 Nov 2016 14:54:43 -0700
parents 2113294ccc6d
children 5dbb552075ff
comparison
equal deleted inserted replaced
1044:dd71a59fcf72 1045:48506d03e230
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"