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")