fix lf preview for json
This commit is contained in:
parent
15a9e24f4d
commit
85122c820b
|
@ -72,7 +72,7 @@ video/*) video "$1" "$2" "$3" "$4" "$5" ;;
|
|||
*opendocument*) run odt2txt "$1" ;;
|
||||
*/markdown) run lowdown -Tterm "$1" ;;
|
||||
*/html) run lynx -dump "$1" ;;
|
||||
text/* | */json | */xml) batorcat "$1" "$2" ;;
|
||||
text/* | */json | */schema+json | */xml) batorcat "$1" "$2" ;;
|
||||
*/pdf) [ ! -f "${CACHE}.jpg" ] && run pdftoppm -jpeg -f 1 -singlefile "$1" "$CACHE" && image "${CACHE}.jpg" "$2" "$3" "$4" "$5" ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue