use github flavored markdown
This commit is contained in:
parent
cbf7ecbbab
commit
2946fb3c6d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user