From 70c107ca1fe98f6617da5fcd70172bb3dd80c2dc Mon Sep 17 00:00:00 2001 From: Rawiri Blundell Date: Sun, 16 Apr 2023 20:12:12 +1200 Subject: [PATCH] Add note about pandoc'ing to archive_crawler --- archive_crawler | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/archive_crawler b/archive_crawler index d4e0f87..d4b31a0 100644 --- a/archive_crawler +++ b/archive_crawler @@ -114,3 +114,8 @@ extract_markup() { get_wayback_target "${REPLY}" done < waybacktargets ) + +# Convert from dokuwiki markup to github markdown +while read -r; do + pandoc --from dokuwiki --to gfm --toc --no-highlight "${REPLY}" > "${REPLY/.markup/}.md" +done < <(find . -name "*.markup")