.TH HTML2MARKDOWN "1" "January 2012" "html2markdown 3.200.1" "User Commands"
.SH NAME
html2markdown \- converts a page of HTML into markdown.
.SH SYNOPSIS
.B html2markdown
[options...] [(\fIfilename\fR|\fIurl\fR) [\fIencoding\fR]]
.SH DESCRIPTION
\fBhtml2markdown\fR downloads the specified HTML page, and converts it
to text marked up with markdown.
The source HTML page may be a local file or remote URL.
If not specified, it will be read from standard input.
The output is printed to standard output.
.P
If an \fIencoding\fR is specified, it will override any encoding
information provided by the HTTP Server.
When not specified, \fBpython-feedparser\fR (if available) will be used
to determine the source encoding.
If not available, or when reading local files, the encoding is assumed
to be UTF-8.
.SH OPTIONS
.TP
.B \-\-ignore\-emphasis
Don't include any formatting for emphasis.
.TP
.B \-\-ignore\-links
Don't include any formatting for links.
.TP
.B \-\-ignore\-images
Don't include any formatting for images.
.TP
.BR \-g ", " \-\-google\-doc
Convert an html-exported Google Document.
.TP
.BR \-d ", " \-\-dash\-unordered\-list
Use a dash rather than a star for unordered list items.
.TP
\fB\-b\fR \fIBODY_WIDTH\fR, \fB\-\-body\-width\fR=\fIBODY_WIDTH\fR
Number of characters per output line, \fB0\fR for no wrap.
.TP
\fB\-i\fR \fILIST_INDENT\fR, \fB\-\-google\-list\-indent\fR=\fILIST_INDENT\fR
Number of pixels Google indents nested lists.
.TP
.BR \-s ", " \-\-hide\-strikethrough
Hide strike-through text. Only relevant when \fB-g\fR is specified as
well.
.TP
.B \-\-version
Show program's version number and exit.
.TP
.BR \-h ", " \-\-help
Show a help message and exit.
.SH AUTHOR
This manpage was written for Debian, by Stefano Rivera
.