view gen_readme.sh @ 2873:6a16ed6742be

Bug fix: View in new window from files pane When View in New Window was called from a right-click in the files pane, the image was not shown at the correct size
author Colin Clark <colin.clark@cclark.uk>
date Tue, 11 Dec 2018 11:46:00 +0000
parents e083bab50112
children
line wrap: on
line source

#!/bin/bash

# Script to create README.html file,

[ ! -e "README.md" ] && exit 1
[ ! -x "$(command -v markdown)" ] && exit 0

[ -e README.html ] && mv -f README.html README.html.bak

markdown README.md > README.html

exit 0