view gen_readme.sh @ 2798:d9764817aad8

Collection preview If the folder containing collection files (usually $HOME/.local/share/geeqie/collections) is opened, the image pane will show a montage of the thumbnails (to a maximum of 20) of the images in the selected collection. Requires ImageMagick. This is a simplistic implementation, and should be improved e.g. Use collect-io.c to parse the collection file Use cached thumbnails instead of re-creating Use Geeqie to create the montage instead of using ImageMagick
author Colin Clark <colin.clark@cclark.uk>
date Wed, 18 Jul 2018 10:16:41 +0100
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