texmf-dist/doc/luatex/lua-placeholders/lua-placeholders-example/example-specification.yaml
raw| 1 | bool example: |
| 2 | type: bool |
| 3 | default: false |
| 4 | string example: |
| 5 | type: string |
| 6 | placeholder: A string |
| 7 | date example: |
| 8 | type: string |
| 9 | placeholder: A date |
| 10 | number example: |
| 11 | type: number |
| 12 | default: -1.21 |
| 13 | list example: |
| 14 | type: list |
| 15 | item type: string |
| 16 | default: |
| 17 | - A string |
| 18 | - A second string |
| 19 | object example: |
| 20 | type: object |
| 21 | fields: |
| 22 | name: |
| 23 | type: string |
| 24 | placeholder: Your name |
| 25 | email: |
| 26 | type: string |
| 27 | placeholder: Your email |
| 28 | grade: |
| 29 | type: number |
| 30 | default: 5.5 |
| 31 | table example: |
| 32 | type: table |
| 33 | columns: |
| 34 | description: |
| 35 | type: string |
| 36 | placeholder: The description |
| 37 | price: |
| 38 | type: number |
| 39 | placeholder: The price |