diff --git a/roles/home-cli/files/markdown.sh b/roles/home-cli/files/markdown.sh index d71d954..334ce05 100644 --- a/roles/home-cli/files/markdown.sh +++ b/roles/home-cli/files/markdown.sh @@ -12,7 +12,12 @@ cat << __EOF__ __EOF__ shift # Drop the first argument (document title). -cmark --to html --nobreaks --unsafe --smart --validate-utf8 $* +for i in $(seq 1 $#) +do + echo '
' + cmark --to html --nobreaks --unsafe --smart --validate-utf8 $(eval echo \$$i) + echo '
' +done cat << __EOF__