#!/bin/sh # (2015,2016 YCB) # change bindir according to your needs! bindir=${BINDIR:-$HOME/bin} if test "$1" = "" then sfl='' echo ": no stylesheet used" else if test -f "$1" then sfl="" echo ": using stylesheet $1" else cat <] will generate files with .html suffix from all files with .md suffix, converting Markdown to HTML, and add a link to the stylesheet