diff --git a/file_previewer.sh b/file_previewer.sh index 70435b8..9fbd234 100755 --- a/file_previewer.sh +++ b/file_previewer.sh @@ -49,6 +49,9 @@ case "$(mimetype --brief -- "$file")" in text/csv) column --separator "," --table "$file" | bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization;; + text/html) + lynx -width="$width" -display_charset=utf-8 -dump "$file";; + text/*) bat --theme='base16' --terminal-width "$(($width-4))" --force-colorization "$file";;