Improve HTML previews

This commit is contained in:
Nikita Ivanov 2022-06-18 15:35:43 +05:00
parent 53c19055b6
commit 59c648142e
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133
3 changed files with 6 additions and 4 deletions

View File

@ -1 +1,3 @@
elinks -dump "$f"
elinks \
-dump 1 -dump-width "$w" \
-no-references -no-numbering < "$f"

View File

@ -1 +1 @@
lynx -dump -- "$f"
lynx -dump -nonumbers -nolist -width="$w" -- "$f"

View File

@ -33,9 +33,9 @@ Preview b_previews[] = {
PR(NULL, "application", "json", jq),
PR(NULL, "inode", "directory", ls),
PR(NULL, "text", "html", w3m),
PR(NULL, "text", "html", lynx),
PR(NULL, "text", "html", elinks),
PR(NULL, "text", "html", lynx),
PR(NULL, "text", "html", w3m),
PR(NULL, "text", "x-diff", delta),
PR(NULL, "text", "x-patch", delta),