summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/lua-placeholders/doc/lua-placeholders-example/example-specification.yaml
blob: fb9e34c296ab8dee2dd11c97b556b3fe9c70edfd (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
34
35
36
bool example:
  type: bool
  default: false
string example:
  type: string
  placeholder: A string
number example:
  type: number
  default: -1.21
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
    grade:
      type: number
      default: 5.5
table example:
  type: table
  columns:
    description:
      type: string
      placeholder: The description
    price:
      type: number
      placeholder: The price