aboutsummaryrefslogtreecommitdiff
path: root/data/sample.lua
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-10-21 12:31:07 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-10-21 12:33:20 -0700
commit0b16b08543e87503968649e63154a629005a406f (patch)
tree0c067738452d82e16c6640d48862450818fd0e37 /data/sample.lua
parentf2f8ddabc876c2c4a3838448f918f9cb1cc0c1b9 (diff)
downloadpandoc-0b16b08543e87503968649e63154a629005a406f.tar.gz
Templates: Changed how array variables are resolved.
Previously if `foo` is an array (which might be because multiple values were set on the command line), `$foo$` would resolve to the concatenation of the elements of foo. This is rarely useful behavior. It has been changed so that the first value is rendered. Of course, you can still iterate over the values using `$for(foo)$`. This has the result that you can override earlier settings using -V by putting new values later on the command line. That's useful for many purposes.
Diffstat (limited to 'data/sample.lua')
0 files changed, 0 insertions, 0 deletions