From 58b3ba25029a24db329f663047fc2235f680772a Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Thu, 16 Mar 2023 00:20:02 -0400 Subject: [PATCH] use pandoc --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 68a6f4c..509483d 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,8 @@ cp -r assets/ dist/ make_index() { cp templates/index.tmpl.html build/index.html sed -i 's//&Home/' build/index.html - sed -i '/<main>/r pages/index.md' build/index.html + pandoc pages/index.md > build/index-content.html + sed -i '/<main>/r build/index-content.html' build/index.html cp build/index.html dist/ }