1PYTHON3-HTML2TEXT(1) User Commands PYTHON3-HTML2TEXT(1)
2
3
4
6 python3-html2text - manual page for python3-html2text 2018.1.9
7
9 python3-html2text [(filename|url) [encoding]]
10
12 --version
13 show program's version number and exit
14
15 -h, --help
16 show this help message and exit
17
18 --default-image-alt=DEFAULT_IMAGE_ALT
19 The default alt string for images with missing ones
20
21 --pad-tables
22 pad the cells to equal column width in tables
23
24 --no-wrap-links
25 wrap links during conversion
26
27 --ignore-emphasis
28 don't include any formatting for emphasis
29
30 --reference-links
31 use reference style links instead of inline links
32
33 --ignore-links
34 don't include any formatting for links
35
36 --protect-links
37 protect links from line breaks surrounding them with angle
38 brackets
39
40 --ignore-images
41 don't include any formatting for images
42
43 --images-to-alt
44 Discard image data, only keep alt text
45
46 --images-with-size
47 Write image tags with height and width attrs as raw html to
48 retain dimensions
49
50 -g, --google-doc
51 convert an html-exported Google Document
52
53 -d, --dash-unordered-list
54 use a dash rather than a star for unordered list items
55
56 -e, --asterisk-emphasis
57 use an asterisk rather than an underscore for emphasized text
58
59 -b BODY_WIDTH, --body-width=BODY_WIDTH
60 number of characters per output line, 0 for no wrap
61
62 -i LIST_INDENT, --google-list-indent=LIST_INDENT
63 number of pixels Google indents nested lists
64
65 -s, --hide-strikethrough
66 hide strike-through text. only relevant when -g is specified as
67 well
68
69 --escape-all
70 Escape all special characters. Output is less readable, but
71 avoids corner case formatting issues.
72
73 --bypass-tables
74 Format tables in HTML rather than Markdown syntax.
75
76 --ignore-tables
77 Ignore table-related tags (table, th, td, tr) while keeping
78 rows.
79
80 --single-line-break
81 Use a single line break after a block element rather than two
82 line breaks. NOTE: Requires --body-width=0
83
84 --unicode-snob
85 Use unicode throughout document
86
87 --no-automatic-links
88 Do not use automatic links wherever applicable
89
90 --no-skip-internal-links
91 Do not skip internal links
92
93 --links-after-para
94 Put links after each paragraph instead of document
95
96 --mark-code
97 Mark program code blocks with [code]...[/code]
98
99 --decode-errors=DECODE_ERRORS
100 What to do in case of decode errors.'ignore', 'strict' and
101 'replace' are acceptable values
102
103 --open-quote=OPEN_QUOTE
104 The character used to open quotes
105
106 --close-quote=CLOSE_QUOTE
107 The character used to close quotes
108
109
110
111python3-html2text 2018.1.9 March 2019 PYTHON3-HTML2TEXT(1)