diff options
author | Marie-Helene Burle <msb2@sfu.ca> | 2019-06-01 11:01:08 -0700 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-12-30 21:16:38 +0100 |
commit | f090ef18c29ba5de0098ad54f87f84ef6f536086 (patch) | |
tree | f9cd965e112d3cdb6a3e97d10eca8480893f4f0c /ranger | |
parent | 6dd43b8854affba979b75783d84b06aa15ca915b (diff) | |
download | ranger-f090ef18c29ba5de0098ad54f87f84ef6f536086.tar.gz |
Move pandoc support for ePub and FB2 back to handle_extension()
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/data/scope.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index bad000a3..bf8cdd36 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -104,7 +104,7 @@ handle_extension() { ## DOCX, EPUB, FB2 (using pandoc) ## you might want to remove EPUB and/or FB2 if you have uncommented ## other methods to preview those formats - docx) + docx|epub|fb2) ## Preview as markdown conversion pandoc -s -t markdown "${FILE_PATH}" && exit 5 exit 1;; @@ -209,13 +209,6 @@ handle_image() { # >/dev/null && exit 6 # exit 1;; - # ePub, FB2 (using pandoc) - # epub|fb2) - # # Preview as markdown conversion - # pandoc -s -t markdown "${FILE_PATH}" && exit 5 - # exit 1;; - - ## Font application/font*|application/*opentype) preview_png="/tmp/$(basename "${IMAGE_CACHE_PATH%.*}").png" if fontimage -o "${preview_png}" \ |