diff options
Diffstat (limited to 'riki.md')
-rw-r--r-- | riki.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -424,3 +424,24 @@ then file output/index.html contains "<title>Yo</title>" ~~~{#meta .file .markdown} [[!meta title=Yo]]] ~~~ + +### `img` + +_Requirement: the `img` directive embeds an image in the generated +HTML page._ + +~~~scenario +given an installed riki +given file site/index.mdwn from img +given file site/img.jpg from jpeg +when I run riki build site output +then file output/index.html contains "<img src="img.jpg"" +~~~ + +~~~{#img .file .markdown} +[[!img img.jpg]]] +~~~ + +~~~{#jpeg .file} +This is a dummy JPEG image. +~~~ |