Releases: matthewwithanm/python-markdownify
Releases · matthewwithanm/python-markdownify
1.2.2
1.2.0
What's Changed
- Add beautiful_soup_parser option by @vincentkelleher in #206
- make convert_hn() public instead of internal by @chrispy-snps in #213
- Add conversion support for
<q>tags by @colinrobinsonuib in #217 - Ensure that explicitly provided heading conversion functions are used (#212) by @chrispy-snps in #214
- allow BeautifulSoup configuration kwargs to be specified by @chrispy-snps in #224
- implement a strip_pre configuration option (#218) by @chrispy-snps in #222
- Support backticks in
<code>spans (#226) by @chrispy-snps in #230 - limit colspan values to range [1, 1000] by @alheiveea in #232
- ci: update
actions/checkoutto v4 by @G-Rath in #233 - docs: fix typo by @G-Rath in #234
- feat: add basic type stubs by @G-Rath in #221
New Contributors
- @vincentkelleher made their first contribution in #206
- @colinrobinsonuib made their first contribution in #217
- @alheiveea made their first contribution in #232
- @G-Rath made their first contribution in #233
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- Support
videotag withposterattribute by @itmammoth in #189 - Add missing newlines for definition lists by @chrispy-snps in #200
- In inline contexts, resolve
<br/>to a space instead of an empty string by @chrispy-snps in #202 - Generalize
colspanhandling to handle missing header rows by @sbrown61 in #203
New Contributors
- @itmammoth made their first contribution in #189
- @sbrown61 made their first contribution in #203
Full Changelog: 1.0.0...1.1.0
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_widthvalue ofNonefor 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_headerconfiguration 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_onlyparameter 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_inlinevariable 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'