mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 17:56:32 +00:00
Added example of setting date with lua filter.
This commit is contained in:
@@ -108,6 +108,15 @@ return {
|
||||
}
|
||||
```
|
||||
|
||||
### Setting the date in the metadata
|
||||
|
||||
```lua
|
||||
function Meta(m)
|
||||
m.date = os.date("%B %e, %Y")
|
||||
return m
|
||||
end
|
||||
```
|
||||
|
||||
### Extracting information about links
|
||||
|
||||
This filter prints a table of all the URLs linked to
|
||||
|
||||
Reference in New Issue
Block a user