Skip to content

Commit 790223b

Browse files
committed
Updated changelog.
1 parent d9025a6 commit 790223b

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

CHANGELOG.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
LuaWebGen
33

4+
v1.5 (2021-07-08)
5+
- Added new Markdown parser (for GitHub Flavored Markdown). Markdown can now contain tables and some other new things.
6+
- Added data parser for plain text files (*.txt). (The string contents are just returned as-is.)
7+
- Added functions: xml.decodeEntities()
8+
- Added settings: xml.htmlAllowNoAttributeValue, xml.htmlScrambleEmailAddresses
9+
- 'toml' and 'json' are now aliases for their .parse() functions.
10+
411
v1.4 (2021-06-01)
512
- Added syntax for heredoc strings.
613
- Added functions: percent(), urlRaw().

build/_README.txt

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,31 +117,32 @@ A blog post, my-first-post.md:
117117
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
118118
Duis nec justo mollis, varius nulla sed, commodo nibh.
119119

120-
Foot is {{foot}}<br>
121-
1 + 2 * 3 = {{1+2*3}}<br>
122-
Current year is {{os.date"%Y"}}
120+
Foot is {{ foot }}<br>
121+
1 + 2 * 3 = {{ 1+2*3 }}<br>
122+
Current year is {{ os.date"%Y" }}
123123

124124
## List of Cats
125125

126-
{{for i, cat in ipairs(data.myCats)}}
127-
- Cat {{i}} is named {{cat.name}}.
128-
{{end}}
126+
{{ for i, cat in ipairs(data.myCats) }}
127+
- Cat {{ i }} is named {{ cat.name }}.
128+
{{ end }}
129129

130130
![Cute cat]({{ getCatImageUrl() }})
131131

132132
Page layout template, page.html:
133133

134-
{{include"header"}}
135-
{{include"navigation"}}
134+
{{ include"header" }}
135+
{{ include"navigation" }}
136136

137137
<main>
138-
<h1 id="{{urlize(page.title)}}">{{page.title}}</h1>
139-
{{page.content}}
138+
<h1 id="{{ urlize(page.title) }}">{{ page.title }}</h1>
139+
{{ page.content }}
140140
</main>
141141

142-
{{include"footer"}}
142+
{{ include"footer" }}
143143

144-
See more examples in the [repository](https://github.com/ReFreezed/LuaWebGen/tree/master/examples).
144+
See more examples in the repository:
145+
https://github.com/ReFreezed/LuaWebGen/tree/master/examples
145146

146147

147148

build/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.0
1+
1.5.0

0 commit comments

Comments
 (0)