Skip to content

Commit

Permalink
fix(Heading): Make depth optional, defaulting to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome authored and Nokome Bentley committed Jan 21, 2020
1 parent 4cbdb4d commit 97c3b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/Heading.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ properties:
'@id': stencila:depth
description: The depth of the heading.
type: number
default: 1
minimum: 1
maximum: 6
content:
Expand All @@ -19,5 +20,4 @@ properties:
items:
$ref: InlineContent
required:
- depth
- content

0 comments on commit 97c3b7d

Please sign in to comment.