From ee42ef1c6f82d4c58c347f650274ecb01e9cc095 Mon Sep 17 00:00:00 2001 From: kageru Date: Thu, 2 Apr 2020 18:28:54 +0200 Subject: [PATCH] Use pandoc markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I figured out how lists work there ヽ( ゚ヮ・)ノ --- blog-refresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog-refresh.sh b/blog-refresh.sh index 1ce4b92..15469b3 100755 --- a/blog-refresh.sh +++ b/blog-refresh.sh @@ -17,7 +17,7 @@ create_entry() { path="$9" outpath="content/$(basename "$path" .md).html" # convert new markdown posts to html - pandoc "$path" -t html -f gfm > "$outpath" + pandoc "$path" -t html -f markdown -o "$outpath" # then add it to the index title="$(rg 'h1' "$outpath" | head -n1 | rg -o '(?<=>).*(?=<)' --pcre2)" created=$(git log --follow --format=%as "$path" | tail -1)