-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshortcuts.yaml
More file actions
58 lines (55 loc) · 1.26 KB
/
shortcuts.yaml
File metadata and controls
58 lines (55 loc) · 1.26 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# shortcuts.yaml — Project-specific style aliases
#
# Define your own vocabulary on top of Keystone's built-in system shortcuts
# (align, font, figure, etc.). User shortcuts layer on top of system
# shortcuts with last-writer-wins — defining a name that matches a system
# shortcut shadows it; deleting the entry restores the default.
#
# Format:
# shortcut-name:
# class: handler-or-shortcut
# interface:
# attr-name:
# bind: class.handler-attr
# default: value
#
# Example — a named font preset:
# garamond:
# class: font
# interface:
# family:
# bind: class.family
# default: eb-garamond
# size:
# bind: class.size
# style:
# bind: class.style
#
# Example — a chain shortcut building on the preset above:
# small-garamond:
# class: garamond
# interface:
# size:
# bind: class.size
# default: small
#
# See docs/shortcuts.md for the full interface system reference.
poem-date:
class: align
interface:
style:
bind: class.style
default: right
body: |
::: {.font style="italic"}
:::
pause:
class: scene-break
body: |
~ ~ ~
thumbnail:
class: figure
interface:
width:
bind: class.width
default: 25%