Releases: matthewwithanm/python-markdownify
Releases · matthewwithanm/python-markdownify
1.0.0
Breaking Changes
If you are using custom tag conversion functions (convert_*()
), note that the function interface has changed. See #191 for details.
What's Changed
- Do not construct Markdown links in code spans and code blocks by @chrispy-snps in #165
- Insert a blank line between table caption, table content by @chrispy-snps in #167
- Allow a
wrap_width
value ofNone
for unlimited line lengths by @chrispy-snps in #169 - Optimize empty-line handling for
<li>
and<blockquote>
content by @chrispy-snps in #171 - Support HTML definition lists (
<dl>
,<dt>
, and<dd>
) by @chrispy-snps in #173 - Add a new
table_infer_header
configuration option to control table header row inference by @SomeBottle in #161 - For
convert_*
functions, allow for tags with special characters in their name (like "subtag-name") by @Fess-AKA-DeadMonk in #136 - Code simplification to remove the
children_only
parameter by @chrispy-snps in #174 - Add blank line before ATX-style headings to avoid ambiguity by @chrispy-snps in #178
- Add blank line before/after preformatted blocks by @chrispy-snps in #179
- Remove superfluous leading/trailing whitespace by @chrispy-snps in #181
- Simplify computation of
convert_children_as_inline
variable by @chrispy-snps in #182 - When computing
<ol>
/<li>
numbering, ignore non-<li>
previous siblings by @chrispy-snps in #183 - Make conversion non-destructive to soup; improve div/article/section handling by @chrispy-snps in #184
- Propagate parent tag context downward to improve runtime by @chrispy-snps in #191
- Avoid stripping nonbreaking spaces by @jsm28 in #188
- Escape right square brackets by @jsm28 in #187
- Rename regex pattern variables by @chrispy-snps in #195
- Use a conversion function cache to improve runtime by @chrispy-snps in #196
- Use compiled regex patterns for escaping to improve runtime by @chrispy-snps in #194
New Contributors
- @SomeBottle made their first contribution in #161
- @Fess-AKA-DeadMonk made their first contribution in #136
Full Changelog: 0.14.1...1.0.0
0.14.1
0.14.0
What's Changed
- More carefully separate inline text from block content by @jsm28 in #120
- More selective escaping of
-#.)
(alternative approach) by @jsm28 in #149 - More thorough cleanup of input whitespace by @jsm28 in #151
- Fix logic for indentation inside list items by @jsm28 in #152
- Set escape_misc to False by default to improve backwards compatibility by @alfonsrv in #153
- Fix whitespace issues around wrapping by @jsm28 in #150
New Contributors
Full Changelog: 0.13.1...0.14.0
0.13.1
0.13.0
What's Changed
- Avoid inline styles inside
<code>
/<pre>
conversion by @jsm28 in #117 - Escape all characters with Markdown significance by @jsm28 in #118
- Update MANIFEST.in to exclude tests during packaging by @samypr100 in #125
- Special-case use of HTML tags for converting
<sub>
/<sup>
by @jsm28 in #119 - handle ol start value is not number by @microdnd in #127
New Contributors
- @jsm28 made their first contribution in #117
- @samypr100 made their first contribution in #125
- @microdnd made their first contribution in #127
Full Changelog: 0.12.1...0.13.0
Fix wrong version
0.12.1 Merge branch 'develop'
A load of new features
Huge thanks to all the contributors!
What's Changed
- improve text normalization/escaping for preformatted/code contexts by @chrispy-snps in #104
- ignore script and style content (such as css and javascript) by @tlk in #112
- Add no css example to readme by @GeeCastro in #111
- Fix newline start in header tags by @5yato4ok in #89
- Fix newlines in tables by @carantunes in #91
- Strip text before adding blockquote markers by @andredelft in #76
- revert workaround example in README.md for
<script>
and<style>
by @chrispy-snps in #115 - Support conversion of header rows in tables without th tag by @huuyafwww in #83
- make sure there are blank lines around table/figure captions by @chrispy-snps in #114
- Table merge cell horizontally by @xydxydxyd1 in #110
New Contributors
- @chrispy-snps made their first contribution in #104
- @tlk made their first contribution in #112
- @GeeCastro made their first contribution in #111
- @5yato4ok made their first contribution in #89
- @carantunes made their first contribution in #91
- @huuyafwww made their first contribution in #83
- @xydxydxyd1 made their first contribution in #110
Full Changelog: 0.11.6...0.12.0
Fixed CLI options, added nix shell file to repo
0.11.6 Merge branch 'develop'
Fixed cli options and lint/test order
0.11.5 Merge branch 'develop'
Fixed rst linting error, added linter to tox
0.11.4 Merge branch 'develop'