From 317c9b42081aa033abd7b46f05f47428f2942ae7 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 3 Jul 2021 19:46:33 +0300 Subject: feat: gather scripts into Makefile --- convert.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 convert.sh (limited to 'convert.sh') diff --git a/convert.sh b/convert.sh deleted file mode 100755 index edb8724..0000000 --- a/convert.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -echo Writing to ${1%.*}.html - -if [ -z "${2}" ]; then - SEDSTRING=$(./compile_emoji_sedstring.sh) -else - SEDSTRING=$2 -fi - -cat "$1" \ - | sed "s/.md)/.html)/g; $SEDSTRING" \ - | pandoc -s --from=gfm+emoji --to=html -c /style.css -B header.html -H icon.html -M pagetitle="Eugene's Space" --shift-heading-level-by=1 > ${1%.*}.html -- cgit v1.2.3