EnglishFrenchSpanish

OnWorks favicon

html2markdown.py2 - Online in the Cloud

Run html2markdown.py2 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command html2markdown.py2 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


html2markdown - converts a page of HTML into markdown.

SYNOPSIS


html2markdown [options...] [(filename|url) [encoding]]

DESCRIPTION


html2markdown 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.

If an encoding is specified, it will override any encoding information provided by the
HTTP Server. When not specified, python-feedparser (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.

OPTIONS


--no-wrap-links
Don't wrap long links.

--ignore-emphasis
Don't include any formatting for emphasis.

--reference-links
Use reference style links instead of in-line links.

--ignore-links
Don't include any formatting for links.

--protect-links
Protect links from line breaks surrounding them with angle brackets.

--ignore-images
Don't include any formatting for images.

--images-to-alt
Discard image data, only keep alt text.

--images-with-size
Write image tags with height and width attrs as raw html to retain dimensions.

-g, --google-doc
Convert an html-exported Google Document.

-d, --dash-unordered-list
Use a dash rather than a star for unordered list items.

-e, --asterisk-emphasis
Use an asterisk rather than an underscore for emphasized text.

-b BODY_WIDTH, --body-width=BODY_WIDTH
Number of characters per output line, 0 for no wrap.

-i LIST_INDENT, --google-list-indent=LIST_INDENT
Number of pixels Google indents nested lists.

-s, --hide-strikethrough
Hide strike-through text. Only relevant when -g is specified as well.

--escape-all
Escape all special characters. Output is less readable, but avoids corner case
formatting issues.

--bypass-tables
Format tables in HTML rather than Markdown syntax.

--single-line-break
Use a single line break after a block element rather than two line breaks. NOTE:
Requires --body-width=0.

--unicode-snob
Use unicode throughout document.

--no-automatic-links
Do not use automatic links wherever applicable.

--no-skip-internal-links
Do not skip internal links.

--links-after-para
Put links after each paragraph instead of document.

--mark-code
Mark program code blocks with [code]...[/code].

--decode-errors=DECODE_ERRORS
What to do in case of decode errors. ignore, strict, and replace are acceptable
values.

--version
Show program's version number and exit.

-h, --help
Show a help message and exit.

Use html2markdown.py2 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 2
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 3
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 4
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 5
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 6
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • More »

Linux commands

Ad