diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-12-29 18:50:13 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-12-29 18:50:13 +0000 |
commit | 3491420b53b03dbc24b6001e4f379fd2fbdbea8d (patch) | |
tree | be9d84d8c60ece73f30189472d3b8a3925565c28 /man/man1 | |
parent | eea359203ac7f861ac9536b39e639f6c65579501 (diff) | |
download | pandoc-3491420b53b03dbc24b6001e4f379fd2fbdbea8d.tar.gz |
+ Changed 'web2markdown' to 'html2markdown'.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@309 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/html2markdown.1 (renamed from man/man1/web2markdown.1) | 20 | ||||
-rw-r--r-- | man/man1/pandoc.1 | 4 |
2 files changed, 12 insertions, 12 deletions
diff --git a/man/man1/web2markdown.1 b/man/man1/html2markdown.1 index 242b50671..413feb115 100644 --- a/man/man1/web2markdown.1 +++ b/man/man1/html2markdown.1 @@ -1,22 +1,22 @@ -.TH WEB2MARKDOWN 1 "December 15, 2006" Pandoc "User Manuals" +.TH HTML2MARKDOWN 1 "December 15, 2006" Pandoc "User Manuals" .SH NAME -web2markdown \- converts HTML to markdown-formatted text +html2markdown \- converts HTML to markdown-formatted text .SH SYNOPSIS -\fBweb2markdown\fR [\fIoptions\fR] [\fIinput\-file\fR or \fIURL\fR] +\fBhtml2markdown\fR [\fIoptions\fR] [\fIinput\-file\fR or \fIURL\fR] .SH DESCRIPTION -\fBweb2markdown\fR converts \fIinput\-file\fR or \fIURL\fR (or text +\fBhtml2markdown\fR converts \fIinput\-file\fR or \fIURL\fR (or text from STDIN) from HTML to markdown\-formatted plain text. -If a URL is specified, \fBweb2markdown\fR uses an available program +If a URL is specified, \fBhtml2markdown\fR uses an available program (e.g. wget, w3m, lynx or curl) to fetch its contents. Output is sent to STDOUT unless an output file is specified using the \fB\-o\fR option. .PP -\fBweb2markdown\fR uses the character encoding specified in the +\fBhtml2markdown\fR uses the character encoding specified in the "Content-type" meta tag. If this is not present, or if input comes from STDIN, UTF-8 is assumed. A character encoding may be specified explicitly using the \fB\-e\fR option. .PP -\fBweb2markdown\fR is a wrapper for \fBpandoc\fR. +\fBhtml2markdown\fR is a wrapper for \fBpandoc\fR. .SH OPTIONS .TP .B \-s, \-\-standalone @@ -62,17 +62,17 @@ Assume the character encoding \fIencoding\fR in reading HTML. (Note: \fIencoding\fR will be passed to \fBiconv\fR; a list of available encodings may be obtained using `\fBiconv \-l\fR'.) If the \fB\-e\fR option is not specified and input is not from -STDIN, \fBweb2markdown\fR will try to extract the character encoding +STDIN, \fBhtml2markdown\fR will try to extract the character encoding from the "Content-type" meta tag. If no character encoding is specified in this way, or if input is from STDIN, UTF-8 will be assumed. .TP .B \-g \fIcommand\fR Use \fIcommand\fR to fetch the contents of a URL. (By default, -\fBweb2markdown\fR searches for an available program or text-based +\fBhtml2markdown\fR searches for an available program or text-based browser to fetch the contents of a URL.) For example: .IP -web2markdown \-g 'wget \-\-user=foo \-\-password=bar' mysite.com +html2markdown \-g 'wget \-\-user=foo \-\-password=bar' mysite.com .SH "SEE ALSO" \fBpandoc\fR(1), diff --git a/man/man1/pandoc.1 b/man/man1/pandoc.1 index f6280f463..a955e9e8a 100644 --- a/man/man1/pandoc.1 +++ b/man/man1/pandoc.1 @@ -41,7 +41,7 @@ and output through \fBiconv\fR: .PP \fIPandoc\fR's HTML parser is not very forgiving. If your input is HTML, consider running it through \fBtidy\fR(1) before passing it -to Pandoc. Or use \fBweb2markdown\fR(1), a wrapper around \fBpandoc\fR. +to Pandoc. Or use \fBhtml2markdown\fR(1), a wrapper around \fBpandoc\fR. .SH OPTIONS .TP @@ -151,7 +151,7 @@ Print version. Show usage message. .SH "SEE ALSO" -\fBweb2markdown\fR(1), +\fBhtml2markdown\fR(1), \fBmarkdown2pdf\fR(1). The .I README |