diff options
Diffstat (limited to 'macros/luatex/latex/lua-placeholders/doc/lua-placeholders-example/example-specification.yaml')
-rw-r--r-- | macros/luatex/latex/lua-placeholders/doc/lua-placeholders-example/example-specification.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/macros/luatex/latex/lua-placeholders/doc/lua-placeholders-example/example-specification.yaml b/macros/luatex/latex/lua-placeholders/doc/lua-placeholders-example/example-specification.yaml new file mode 100644 index 0000000000..2d00cecaf3 --- /dev/null +++ b/macros/luatex/latex/lua-placeholders/doc/lua-placeholders-example/example-specification.yaml @@ -0,0 +1,33 @@ +bool example: + type: bool + default: false +string example: + type: string + placeholder: A string +number example: + type: number + default: -1 +list example: + type: list + item type: string + default: + - A string + - A second string +object example: + type: object + fields: + name: + type: string + placeholder: Your name + email: + type: string + placeholder: Your email +table example: + type: table + columns: + description: + type: string + placeholder: The description + price: + type: number + placeholder: The price |