initial commit

This commit is contained in:
quenousimporte 2024-03-20 21:14:12 +01:00
commit eaee0782d7
2 changed files with 14 additions and 0 deletions

11
st.sh Normal file
View File

@ -0,0 +1,11 @@
input=.
output=./out
outformat=markdown+hard_line_breaks+autolink_bare_uris+lists_without_preceding_blankline
rm -rf $output/*
cp style.css $output/style.css
for f in $input/*.md
do
f=${f##*/}
sed 's/\[\[\(.*\)\]\]/\[\1\](\1.html)/g' "$input/$f" | pandoc -f $outformat --metadata title="${f%.md}" --standalone --css=style.css -o "$output/${f%.md}.html"
done

3
style.css Normal file
View File

@ -0,0 +1,3 @@
body {
font-family: helvetica
}