summaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'convert.sh')
-rwxr-xr-xconvert.sh12
1 files changed, 0 insertions, 12 deletions
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