From 2946fb3c6d5295c5dfcf431d0c7d5ec1d4f2b3b0 Mon Sep 17 00:00:00 2001 From: kageru Date: Thu, 2 Apr 2020 16:30:49 +0200 Subject: [PATCH] use github flavored markdown --- blog-refresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog-refresh.sh b/blog-refresh.sh index 3997e42..1ce4b92 100644 --- 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 > "$outpath" + pandoc "$path" -t html -f gfm > "$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)