From ed827859f36ff5cc9b2360284b92cb56c5b88d41 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 9 Apr 2023 14:38:27 +0300 Subject: refactor: use html-page crate to represent HTML Sponsored-by: author --- riki.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'riki.md') diff --git a/riki.md b/riki.md index a64b8ac..9938e72 100644 --- a/riki.md +++ b/riki.md @@ -623,7 +623,7 @@ _Requirement: the `meta title` directive sets page title._ given an installed riki given file site/index.mdwn from meta when I run riki build site output -then file output/index.html contains "Yo" +then file output/index.html contains "Yo" ~~~ ~~~{#meta .file .markdown} @@ -640,7 +640,8 @@ given an installed riki given file site/a.mdwn from use_shortcut given file site/b.mdwn from define_shortcut when I run riki build site output -then file output/a/index.html contains "foo!123" +when I run cat output/a/index.html +then file output/a/index.html contains "foo!123" ~~~ ~~~{#use_shortcut .file .markdown} @@ -660,13 +661,13 @@ given an installed riki given file site/index.mdwn from table when I run riki build site output when I run cat output/index.html -then file output/index.html contains "" -then file output/index.html contains "" -then file output/index.html contains "" -then file output/index.html contains "" -then file output/index.html contains "" -then file output/index.html contains "" -then file output/index.html contains "" +then file output/index.html contains "
GreetingGreetee
helloworld
goodbyecruel world
" +then file output/index.html contains "" +then file output/index.html contains "" +then file output/index.html contains "" +then file output/index.html contains "" +then file output/index.html contains "" +then file output/index.html contains "" ~~~ ~~~{#table .file .markdown} @@ -686,8 +687,8 @@ given an installed riki given file site/index.mdwn from toc when I run riki build site output when I run cat output/index.html -then file output/index.html contains "
  • Introduction
  • " -then file output/index.html contains "
  • Acknowledgements
  • " +then file output/index.html contains "
  • Introduction
  • " +then file output/index.html contains "
  • Acknowledgements
  • " ~~~ ~~~{#toc .file .markdown} -- cgit v1.2.1
    GreetingGreetee
    helloworld
    goodbyecruel world