Commit Graph

79 Commits

Author SHA1 Message Date
Michael Bayne f7054a673c Merge pull request #132 from maximebochon/patch-3
README: use HTML code blocks for HTML examples
2022-05-14 11:57:45 -07:00
Björn Höfling eaf023b351 README.md: Fix URL, use mustache.github.io. 2022-05-13 17:17:03 +02:00
Maxime BOCHON c9ba5e8946 README: use HTML code blocks for HTML examples 2022-02-14 16:19:50 +01:00
Michael Bayne 5392256ddc Merge pull request #130 from maximebochon/patch-1
fix typo in README: varables -> variables
2022-02-11 10:49:46 -08:00
Maxime BOCHON dda49a1afc fix typo in README: <ul/> -> <ul> 2022-02-10 17:38:06 +01:00
Maxime BOCHON 1fcd6af9d9 fix typo: varables -> variables 2022-02-10 17:26:52 +01:00
Seonghyeon Cho 788601d1c2 Fix closing tag 2022-01-12 16:14:53 +09:00
jiangyuan04 39faf564fe fix readme example 2021-09-10 10:30:21 +08:00
Michael Bayne 8e485a68e1 Reword second motivation more neutrally.
Closes #121.
2020-11-03 11:21:57 -08:00
Michael Bayne 5e09fb1802 Remove mention of mustache.java. 2020-11-03 11:17:30 -08:00
Michael Bayne 9f0ade9db7 Update links to latest release. 2019-07-10 08:57:28 -07:00
Devin Smith 433e9677d4 added MustacheCustomContext 2018-08-21 17:32:18 -05:00
Michael Bayne af623f1335 Reference 1.14 release. 2017-12-04 09:17:13 -08:00
quentinburley 02478eccdb Update README.md
fix typos: unbalanced parenthesis. 
before:
{{#names}}{{.}}{/names}}
after:
{{#names}}{{.}}{{/names}}
2016-10-16 18:18:33 +02:00
Michael Bayne b50919924b Doc updates. 2016-08-08 09:37:54 -07:00
Michael Bayne e6a9363fae Prep for 1.13 release. 2016-08-08 09:12:49 -07:00
Michael Bayne 5631d08338 Reference release 1.12 in the README. 2016-01-19 17:57:44 -08:00
Michael Bayne c1ddff1b6f Add further warning re defaultValue and nullValue.
This is not the first time someone has been confused by this.
2015-12-14 11:34:44 -08:00
Michael Bayne 6dc8e64702 Bump to 1.11. 2015-10-05 15:13:22 -07:00
Michael Bayne 516fde2ea4 Let's put a build status image in the README.
Now we're like the cool kids.
2015-03-16 20:37:39 -07:00
Michael Bayne 4091bf1091 Use Java code formatting for examples. 2015-03-16 20:30:42 -07:00
Michael Bayne f24d4a7795 Reference 1.10 and via https. 2015-02-09 08:37:02 -08:00
Michael Bayne 9d8289caf0 Updated docs for whitespace+newline trimming. 2014-12-20 11:16:01 -08:00
Michael Bayne 17fe45ee8d Added a caveat default values.
I want to ensure the reader notes the difference between variables and
sections.
2014-12-20 11:10:10 -08:00
Michael Bayne 8618f89f7e Added strictSections configuration.
Section behavior used to be somewhat hackily determined from nullValue and
defaultValue, but it was messy. Now it has its own configuration and things are
more explicit.

Previously missing/null sections were treated as false, but if you set
nullValue to something, then missing sections became an error, but null
sections remained false. If you set defaultValue to something, missing sections
went back to being omitted. Kooky.

Now missing sections are omitted, unless you set strictSections to true, in
which case they become an error. nullValue and defaultValue have no impact on
section behavior.

There is no way to make null sections an error, but I don't see any demand for
that, so I'm going to leave that as a TODO.

Closes #60.
2014-12-20 11:06:46 -08:00
Michael Bayne 3c0c0f5b4a Yet more edits. 2014-03-31 10:02:15 -07:00
Michael Bayne 69c832a3ac More edits. 2014-03-31 10:01:15 -07:00
Michael Bayne a5a30fe5dc Minor edits. 2014-03-31 10:00:00 -07:00
Michael Bayne ec38ae2c80 Added details on thread-safety. 2014-03-31 09:57:42 -07:00
Michael Bayne 5ca07f70f0 Widened README to 100 columns.
Not sure why I had it at 80 before, though maybe I'm about to find out when I
push and the formatting is all hosed.
2014-03-18 09:29:30 -07:00
Michael Bayne df1cf9286f Override is good in code, a distraction in docs. 2014-03-11 07:47:11 -07:00
Michael Bayne b44e36f6c3 Invertable -> invertible here too. 2014-03-11 07:45:47 -07:00
Michael Bayne 59e06b24c9 Invertable -> invertible. Other minor tidying. 2014-03-11 07:43:44 -07:00
robbytx 2251ac1ed2 Add support for lambdas in inverse blocks 2014-03-10 17:06:21 -05:00
Michael Bayne 50416be2dc Reference 1.9 release. 2014-02-13 10:19:04 -08:00
egaga b7a1a8c991 reference this´ instead of self´ 2014-01-29 13:51:02 +02:00
Michael Bayne 4bd3410207 Fixed typo in docs. 2014-01-08 11:02:29 -08:00
Michael Bayne e80aab2a67 Fixed insufficient indentation. 2014-01-08 11:01:56 -08:00
Michael Bayne 12a4b77107 Fixed docs on Escaper, added docs for Formatter. 2014-01-08 10:59:37 -08:00
Michael Bayne 19516ff1e4 Updated nullValue docs to be correct re: Map. 2013-10-08 12:26:39 -07:00
Nat Pryce 0797c89c38 Fixed formatting in README 2013-07-22 22:46:29 +01:00
Nat Pryce 30907579eb README describes user-extensible escaping rules (not just HTML or no escaping) 2013-07-22 22:45:28 +01:00
Michael Bayne 158b34f041 Update links to 1.8 artifact. 2013-04-05 11:07:41 -07:00
Whymarrh Whitby 2701211e11 Small spelling fix. 2013-03-15 17:57:12 -07:00
Michael Bayne 1d7021b753 Fixed typo. 2013-02-15 16:41:24 -08:00
Michael Bayne aa56e72513 Truth in exampling. 2013-02-15 16:40:59 -08:00
Michael Bayne acbddd07a2 Added basic lambda support. 2013-02-15 16:38:36 -08:00
Michael Bayne 9f0bb84db3 Prep for 1.6 release. 2012-08-16 17:38:41 -07:00
Michael Bayne 7701880092 Update download links to latest release version (1.5). 2011-11-22 11:43:55 -08:00
Michael Bayne adf116992c Modified compound variables to honor null/default configuration. Closes #10.
Kali/Bertrand convinced me that being consistent with other Mustache
implementations is more important than whatever wacky reasons I was harboring
for keeping compound variables different than singleton sections.
2011-10-29 14:38:56 -07:00