From 4555bfa6b3c7e3ad3c1e799f71a0ef3c765344c4 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 11 Jan 2025 01:05:55 +0000 Subject: [PATCH] [file_previewer.sh]: Use defaults for Markdown handling --- src/file_previewer.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/file_previewer.sh b/src/file_previewer.sh index e37abb9..26a9a14 100755 --- a/src/file_previewer.sh +++ b/src/file_previewer.sh @@ -66,9 +66,6 @@ case "$mimetype" in text/html) lynx -width="$width" -display_charset=utf-8 -dump "$file";; - text/markdown) - markdown-it "$file" | lynx -width="$width" -display_charset=utf-8 -dump -stdin;; - video/*) ffmpeg -ss 00:00:00 -i "$file" -frames:v 1 -q:v 2 "$preview_image" chafa "$preview_image" --size "$(($width-4))"x"$height"