diff options
| -rw-r--r-- | doc/lua-filters.md | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 2dcf76995..e1504ff13 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -4053,11 +4053,16 @@ argument has a string-valued metafield `__name`, then it returns that string. Otherwise it behaves just like the normal `type` function. -Usage: -- Prints one of 'string', 'boolean', 'Inlines', 'Blocks', --- 'table', and 'nil', corresponding to the Haskell constructors --- MetaString, MetaBool, MetaInlines, MetaBlocks, MetaMap, -- and -an unset value, respectively. function Meta (meta) print('type of -metavalue `author`:', pandoc.utils.type(meta.author)) end +Usage: + + -- Prints one of 'string', 'boolean', 'Inlines', 'Blocks', + -- 'table', and 'nil', corresponding to the Haskell constructors + -- MetaString, MetaBool, MetaInlines, MetaBlocks, MetaMap, + -- and an unset value, respectively. + + function Meta (meta) + print('type of metavalue `author`:', pandoc.utils.type(meta.author)) + end Parameters: |
