git.iko.soy/typeable/pandoc
on master help sign in
Added example of setting date with lua filter.
64ff865John MacFarlane
doc/lua-filters.md+9
@@ -108,6 +108,15 @@ return {
108 }
108 }
109```
109```
110
110
111+### Setting the date in the metadata
112+
113+```lua
114+function Meta(m)
115+ m.date = os.date("%B %e, %Y")
116+ return m
117+end
118+```
119+
111### Extracting information about links
120### Extracting information about links
112
121
113This filter prints a table of all the URLs linked to
122This filter prints a table of all the URLs linked to