balsamine.2017-2018
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

to_md.sh
text/x-sh

Download raw (186 bytes)

#! /bin/bash

In=$1

if [ "$#" -gt 1 ]; then
    Out=$2
else
    Out="${In%.*}.md"
fi

echo "Converting ${In}"
pandoc "${In}" -r docx -t markdown -s -o "${Out}"
echo "Written to: ${Out}"