Skip to content

Commit 2a0d311

Browse files
gjchong25Grace Chong
andauthored
DOP-2754: Add video directive for video embeddings (#384)
* DOP-2754: Add video directive * remove content type for video Co-authored-by: Grace Chong <[email protected]>
1 parent cf1c5b9 commit 2a0d311

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

snooty/rstspec.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,11 @@ options.title = {required = true, type = "string"}
919919
options.image = {required = true, type = ["path", "uri"]}
920920
options.type = "string"
921921

922+
[directive.video]
923+
help = "Embed a video in your article"
924+
argument_type = "uri"
925+
example = """.. video:: ${1: full video url}"""
926+
922927
[directive.youtube]
923928
help = "Embed a video from YouTube in your article"
924929
argument_type = "string"

0 commit comments

Comments
 (0)