mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-01-10 02:28:13 +01:00
Improve HTML previews
This commit is contained in:
parent
53c19055b6
commit
59c648142e
@ -1 +1,3 @@
|
|||||||
elinks -dump "$f"
|
elinks \
|
||||||
|
-dump 1 -dump-width "$w" \
|
||||||
|
-no-references -no-numbering < "$f"
|
||||||
|
@ -1 +1 @@
|
|||||||
lynx -dump -- "$f"
|
lynx -dump -nonumbers -nolist -width="$w" -- "$f"
|
||||||
|
@ -33,9 +33,9 @@ Preview b_previews[] = {
|
|||||||
PR(NULL, "application", "json", jq),
|
PR(NULL, "application", "json", jq),
|
||||||
PR(NULL, "inode", "directory", ls),
|
PR(NULL, "inode", "directory", ls),
|
||||||
|
|
||||||
PR(NULL, "text", "html", w3m),
|
|
||||||
PR(NULL, "text", "html", lynx),
|
|
||||||
PR(NULL, "text", "html", elinks),
|
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-diff", delta),
|
||||||
PR(NULL, "text", "x-patch", delta),
|
PR(NULL, "text", "x-patch", delta),
|
||||||
|
Loading…
Reference in New Issue
Block a user