summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/lua-placeholders/doc/lua-placeholders-example/example-specification.yaml
blob: 2d00cecaf3d71acf51bf3dd9a1dfd8f314a97c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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