This commit is contained in:
Nikita Ivanov 2022-09-09 22:34:28 +05:00
parent c0228a964a
commit cab396ae6c
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133
2 changed files with 15 additions and 7 deletions

View File

@ -8,6 +8,11 @@ lb lb\
l li .\
File type\tPrograms
# Substitute '-' with '\-'
:a
s/\(\t.*[^\\]\)-/\1\\-/
ta
# Format rows
s/\t/&T{\n/; s/$/\nT}/

View File

@ -23,7 +23,8 @@ ctpv \- terminal previewer
.
.SY ctpv
.B \-m
.IR file \&.\|.\|.\&
.I file
\&.\|.\|.\&
.YS
.
.SY ctpv
@ -61,6 +62,8 @@ or
.IR w3m
installed on your system to view HTML files.
.
.PP
.
.\" This table is auto generated!
.
.\" TABLESTART
@ -106,7 +109,7 @@ pdf T{
pdftoppm
T}
text T{
bat cat highlight source-highlight
bat cat highlight source\-highlight
T}
torrent T{
transmission\-show
@ -237,7 +240,7 @@ There are several commands that can be used to add
previews or set different settings.
Commands are separated by newlines.
Comments start with number sign
.RB \(lq # \(rq.
.RB \(oq # \(cq.
.
.PP
Example:
@ -319,7 +322,7 @@ preview manpage .1 {{
.
.PP
Running
.I "ctpv\ file.1"
.I "ctpv\~file.1"
where
.I file.1
is a source code for a manpage will run
@ -385,7 +388,7 @@ preview json_example application/json {{
.PP
You can omit subtype part of the MIME type
by replacing it with
.RB \(lq * \(rq.
.RB \(oq * \(cq.
.
.IP
.EX
@ -396,7 +399,7 @@ preview any_text_example text/* {{
.
.PP
Setting subtype to
.RB \(lq * \(rq
.RB \(oq * \(cq
will make the preview above apply to any file which MIME type starts with
.BR text/ .
.