diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-02 20:39:11 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-02 20:46:07 +0200 |
commit | f73926306811359c47b589bf860ddccb0a1ceb14 (patch) | |
tree | 1dd00feb7e50a085839ea6666a9451c31a677888 /doc/cha-mailcap.5 | |
parent | 410951c56ad856954874463a1ad14432cad42149 (diff) | |
download | chawan-f73926306811359c47b589bf860ddccb0a1ceb14.tar.gz |
doc: update manpages
Diffstat (limited to 'doc/cha-mailcap.5')
-rw-r--r-- | doc/cha-mailcap.5 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/cha-mailcap.5 b/doc/cha-mailcap.5 index b83c6ff9..77fc7759 100644 --- a/doc/cha-mailcap.5 +++ b/doc/cha-mailcap.5 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pandoc 3.2 +.\" Automatically generated by Pandoc 3.3 .\" .TH "cha\-mailcap" "5" "" "" "Mailcap support in Chawan" .SH Mailcap @@ -129,12 +129,16 @@ audio/*; mpv \-; needsterminal video/*; mpv \- # Open docx files using LibreOffice Writer. -application/vnd.openxmlformats\-officedocument.wordprocessingml.document;lowriter %s +application/vnd.openxmlformats\-officedocument.wordprocessingml.document; lowriter %s # (Wow that was ugly.) # Display manpages using pandoc. (Make sure the mime type matches the one # set in your mime.types file for extensions .1, .2, .3, ...) -application/x\-troff\-man;pandoc \- \-f man \-t html \-o \-; x\-htmloutput +application/x\-troff\-man; pandoc \- \-f man \-t html \-o \-; x\-htmloutput + +# epub \-> HTML using pandoc. (Again, don\[aq]t forget to adjust mime.types.) +# We set http_proxy to keep it from downloading whatever through http/s. +application/epub+zip; http_proxy=localhost:0 pandoc \- \-f epub \-\-embed\-resources \-\-standalone; x\-htmloutput # Following entry will be ignored, as text/html is supported natively by Chawan. text/html; cha \-dT text/html \-I %{charset}; copiousoutput |