#!/bin/bash # mlp - minion live preview # Like `ml / minion list`, but gets the markdown file ready to print # Will act on a maximum of four files. # Creates .md.html files. # Opends files in your $BROWSER or assumes firefox # Constantly updates the live preview with changes year=`date +%Y` files=$(find $HOME/Journal/$year -type f -iname "*$1*\.md") $HOME/envs/docs/bin/markdpy serve $files # Install with setup-mlp.sh