From c04613ffb66895db81f71b1ad6e5293567c8ba95 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 12 Jul 2022 20:35:47 +0300 Subject: feat! add subcommand "build" This will open the chance of other subcommands in the future. Sponsored-by: author --- riki.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'riki.md') diff --git a/riki.md b/riki.md index 4aca1f0..23f430e 100644 --- a/riki.md +++ b/riki.md @@ -38,7 +38,7 @@ be an empty HTML file._ ~~~scenario given an installed riki given file site/empty.mdwn from empty -when I run riki site output +when I run riki build site output then AST of site/empty.mdwn matches that of output/empty.html ~~~ @@ -54,7 +54,7 @@ be an HTML file with the same text, without extra elements._ ~~~scenario given an installed riki given file site/page.mdwn from para -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -74,7 +74,7 @@ output must have a blockquote element. ~~~scenario given an installed riki given file site/page.mdwn from blockquote -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -92,7 +92,7 @@ output must have a pre element. ~~~scenario given an installed riki given file site/page.mdwn from indented-code -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -110,7 +110,7 @@ output must have a pre element. ~~~scenario given an installed riki given file site/page.mdwn from fenced-code -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -131,7 +131,7 @@ must have an img element. ~~~scenario given an installed riki given file site/page.mdwn from image-link -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -148,7 +148,7 @@ in HTML output._ ~~~scenario given an installed riki given file site/page.mdwn from emph -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -165,7 +165,7 @@ strong element in HTML output._ ~~~scenario given an installed riki given file site/page.mdwn from strong -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -182,7 +182,7 @@ element in HTML output._ ~~~scenario given an installed riki given file site/page.mdwn from strike -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -201,7 +201,7 @@ supported._ ~~~scenario given an installed riki given file site/page.mdwn from headings -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -223,7 +223,7 @@ element in HTML output._ ~~~scenario given an installed riki given file site/page.mdwn from backticks -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -242,7 +242,7 @@ output._ ~~~ given an installed riki given file site/page.mdwn from table -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -261,7 +261,7 @@ HTML output._ ~~~scenario given an installed riki given file site/page.mdwn from rule -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -282,7 +282,7 @@ in HTML output._ ~~~scenario given an installed riki given file site/page.mdwn from ul -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -303,7 +303,7 @@ the same as the Markdown.*** ~~~ given an installed riki given file site/page.mdwn from ol -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -321,7 +321,7 @@ in HTML output._ ~~~scenario given an installed riki given file site/page.mdwn from tasklist -when I run riki site output +when I run riki build site output then AST of site/page.mdwn matches that of output/page.html ~~~ @@ -339,7 +339,7 @@ into the destination directory as-is._ ~~~scenario given an installed riki given file site/image.jpg from image -when I run riki site output +when I run riki build site output then files site/image.jpg and output/image.jpg match ~~~ @@ -359,7 +359,7 @@ directory._ given an installed riki given file site/foo/page.mdwn from image given file site/bar/image.jpg from para -when I run riki site output +when I run riki build site output then AST of site/foo/page.mdwn matches that of output/foo/page.html then files site/bar//image.jpg and output/bar/image.jpg match ~~~ -- cgit v1.2.1