Skip to content

Commit e95a15e

Browse files
committed
Minor fixes + revert local valkyrie
1 parent cca384f commit e95a15e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/_valid.typ

+3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
#let _content = content
44
#let _color = color
55
#let _gradient = gradient
6+
#let _label = label
67
#let _version = version
78

89
#import _pkg.z: *
910

1011
#let paint = base-type.with(name: "color/gradient", types: (_color, _gradient,))
1112

1213
#let auto_ = base-type.with(name: "auto", types: (type(auto),))
14+
#let label = base-type.with(name: "label", types: (_label,))
15+
#let version = base-type.with(name: "version", types: (_version,))

src/example.typ

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
/// - side-by-side (bool): Whether or not the example source and output should
3636
/// be shown side by side.
3737
/// - scope (dictionary): The scope to pass to `eval`.
38-
/// - breakable (bool): If the frame can brake over multiple pages.
39-
/// - result (content): The content to render as the example result. Evaluated
40-
/// `eval`.
38+
/// - breakable (bool): Whether the frame can brake over multiple pages.
39+
/// - result (content, auto): The content to render as the example result. If
40+
/// `auto` then `source` is evaluated and used as result.
4141
/// - source (content): A raw element containing the source code to evaluate.
4242
/// - theme (theme): The theme to use for this code example.
4343
/// -> content

0 commit comments

Comments
 (0)