2006-11-01 06:32:52 +00:00
|
|
|
.TH PANDOC 1 "November 1, 2006" Linux "User Manuals"
|
2006-10-17 14:22:29 +00:00
|
|
|
.SH NAME
|
|
|
|
html2markdown \- converts HTML to markdown-formatted text
|
|
|
|
.SH SYNOPSIS
|
2006-11-12 01:50:56 +00:00
|
|
|
\fBhtml2markdown\fR [ \fIinput-file\fR or \fIURL\fR ]
|
2006-11-01 06:32:52 +00:00
|
|
|
.SH DESCRIPTION
|
2006-11-12 01:50:56 +00:00
|
|
|
\fBhtml2markdown\fR converts \fIinput-file\fR or \fIURL\fR
|
|
|
|
(or text from STDIN) from HTML to markdown-formatted plain text.
|
|
|
|
It uses an available program (e.g. wget, w3m, lynx or curl) to fetch
|
|
|
|
the contents of the URL.
|
2006-11-14 07:06:14 +00:00
|
|
|
.PP
|
|
|
|
\fBhtml2markdown\fR is a wrapper for \fBpandoc\fR.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-\-
|
|
|
|
Any options appearing after ` \-\- ' on the command line will be passed
|
|
|
|
directly to \fBpandoc\fR. See \fBpandoc\fR(1) for a list of options
|
|
|
|
that may be used. Options specified in this way will override
|
|
|
|
PANDOC_OPTS (see below). Example:
|
|
|
|
.IP
|
|
|
|
html2markdown input.txt -- -R
|
2006-11-12 01:50:56 +00:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
Any command-line options contained in the PANDOC_OPTS environment variable
|
2006-11-14 07:06:14 +00:00
|
|
|
will be passed directly to \fBpandoc\fR. See \fBpandoc\fR(1)
|
2006-11-12 01:50:56 +00:00
|
|
|
for a list of options that may be used.
|
2006-11-03 07:08:47 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
\fBpandoc\fR(1),
|
|
|
|
\fBmarkdown2html\fR(1),
|
|
|
|
\fBmarkdown2latex\fR(1),
|
|
|
|
\fBlatex2markdown\fR(1),
|
|
|
|
\fBmarkdown2pdf\fR(1)
|
2006-10-17 14:22:29 +00:00
|
|
|
.SH AUTHOR
|
2006-11-01 06:32:52 +00:00
|
|
|
John MacFarlane
|