

The more complex structures like if, and for loops below work on the same concept. If you set a variable with the name simple to be value, then if you render a template like simple is $ the output will be simple is value.
#Text expander free mac how to
Templates check the variables you define to figure out what how to manipulate your template.
If JSON doesn't mean much to you, do not fear, there's really not much you need to know. Notably, HJSON can parse JSON, so if you're generating templates from a script or something you could just JSON.stringify your front matter. See the HJSON project for the full language reference. It's written in HJSON which is pretty much just JSON without without all the quotes and commas. It should be the first thing in your template, with three dashes - before and after. This is where you define any variables or values you're going to use in your template. # a comment, tell your minions which values to edit.
