diff --git a/previewer.sh b/previewer.sh index f2dce93..25c0c3c 100755 --- a/previewer.sh +++ b/previewer.sh @@ -10,5 +10,6 @@ case "$1" in *.png) img2txt "$1";; *.gif) img2txt "$1";; *.bmp) img2txt "$1";; + *.md) mdcat "$1";; *) bat --terminal-width 120 --wrap auto --color always --theme base16 "$1";; esac