-
Notifications
You must be signed in to change notification settings - Fork 42
/
InstructionInline.yaml
48 lines (48 loc) · 1.21 KB
/
InstructionInline.yaml
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
title: InstructionInline
'@id': stencila:InstructionInline
nick: isi
extends: Instruction
category: edits
description: An instruction to edit some inline content.
patch:
applyWith: "InstructionInline::apply_patch_op"
markdown:
derive: false
proptest: {}
core:
- content
- suggestions
properties:
content:
'@id': stencila:content
description: The content to which the instruction applies.
type: array
items:
$ref: Inline
walk: true
dom:
elem: span
proptest:
min:
description: No content
value: None
low:
description: Generate a single arbitrary, non-recursive, inline node
strategy: option::of(vec_inlines_non_recursive(1))
high:
description: Generate up to two arbitrary, non-recursive, inline nodes
strategy: option::of(vec_inlines_non_recursive(2))
max:
description: Generate up to four arbitrary, non-recursive, inline nodes
strategy: option::of(vec_inlines_non_recursive(4))
suggestions:
'@id': stencila:suggestions
description: Suggestions for the instruction
type: array
items:
$ref: SuggestionInline
walk: true
patch:
formats: [md]
dom:
elem: span