Include: vader_includes/vader_setup.vader Execute (Copy Wiki's Resources): Log "Start: Copy Resources" call CopyResources() Given (Void): Execute (Generate HTML and RSS feed): edit $HOME/testwiki/index.wiki Vimwiki2HTML VimwikiRss Given (Void): Do (Get HTML file): :read $HOME/html/default/index.html\ # Go to line with RSS link gg/RSS\ # Delete everything above kdgg # Delete everything below jdG # Save (Not necessary) :write Expect (RSS link in HTML): Do (Get RSS feed): :read $HOME/html/default/rss.xml\ # Remove first line ggdd # Replace pubDate with dummy as it's based on file modification time :%s@.*@...@g\ # Save (Not necessary) :write Expect (RSS): Diary https://example.com/diary/diary.html Diary ... day 4 https://example.com/diary/2020-07-25.html 2020-07-25

day 4

here is some code:

  #!/bin/sh
  echo "hello world"
  

an important list:

  • point 1
  • point 2
]]>
...
Day 2 https://example.com/diary/2020-07-23.html 2020-07-23

Day 2

another diary entry

]]>
...
2020-07-22 https://example.com/diary/2020-07-22.html 2020-07-22 example diary entry for day 1.

]]>
...
Include: vader_includes/vader_teardown.vader