Joseph Myers
2bd0772685
Avoid inline styles inside <code> / <pre> conversion ( #117 )
...
* Avoid inline styles inside `<code>` / `<pre>` conversion
The check used for this is analogous to that used to avoid escaping
potential markup characters inside such tags.
Fixes #103
---------
Co-authored-by: AlexVonB <AlexVonB@users.noreply.github.com >
2024-04-04 20:55:54 +02:00
AlexVonB
74ddc408cc
bump to v0.12.1
2024-03-26 21:56:00 +01:00
Eric Xu
3b4a014f25
Table merge cell horizontally ( #110 )
...
* Fix #109 Table merge cell horizontally
* Add test case for colspan
---------
Co-authored-by: AlexVonB <AlexVonB@users.noreply.github.com >
2024-03-26 21:50:54 +01:00
AlexVonB
57d4f37923
fixed tests for table caption
2024-03-26 21:43:25 +01:00
Chris Papademetrious
d5fb0fbb85
make sure there are blank lines around table/figure captions ( #114 )
...
Signed-off-by: chrispy <chrispy@synopsys.com >
Co-authored-by: AlexVonB <AlexVonB@users.noreply.github.com >
2024-03-26 21:41:56 +01:00
huuya
e4df41225d
Support conversion of header rows in tables without th tag ( #83 )
...
* Fixed support for header row conversion for tables without th tag
2024-03-26 21:32:36 +01:00
AlexVonB
804a3f8f07
added further readme for custom converters
2024-03-26 21:21:45 +01:00
Chris Papademetrious
7d0bf46057
revert workaround example in README.rst for <script> and <style> now that it is properly fixed ( #115 )
...
Signed-off-by: chrispy <chrispy@synopsys.com >
2024-03-26 21:15:22 +01:00
André van Delft
2f9a42d3b8
Strip text before adding blockquote markers ( #76 )
2024-03-26 21:07:28 +01:00
AlexVonB
96a25cfbf3
added tests for linebreaks in table cells
2024-03-26 21:05:31 +01:00
Carina de Oliveira Antunes
0477a0c8a0
convert_td: strip text ( #91 )
2024-03-26 20:49:50 +01:00
Veronika Butkevich
f33ccd7c1a
Fix newline start in header tags ( #89 )
...
* Fix newline start in header tags
2024-03-26 20:46:30 +01:00
G
a2f82678f7
Add no css example to readme ( #111 )
...
* Add no css example
---------
Co-authored-by: G <17325189+Chichilele@users.noreply.github.com >
2024-03-11 21:10:08 +01:00
Thomas L. Kjeldsen
60967c1c95
ignore script and style content (such as css and javascript) ( #112 )
2024-03-11 21:07:24 +01:00
Chris Papademetrious
c7718b6d81
Merge pull request #104 from chrispy-snps/fix/97-101-102
...
improve text normalization/escaping for preformatted/code contexts
2024-01-15 15:46:51 -05:00
chrispy
2b22d239ad
avoid text normalization/escaping in any preformatted/code context
...
Signed-off-by: chrispy <chrispy@synopsys.com >
2024-01-15 10:53:14 -05:00
AlexVonB
e6e23fd512
bump to v0.11.6
2022-09-02 10:10:27 +02:00
Alex
433fad2dec
added nix shell file
2022-09-02 08:50:45 +02:00
Alex
4fb451ffa6
fixed cli parameters
...
closes #75
2022-09-02 08:44:41 +02:00
AlexVonB
e8d041c251
bump to v0.11.5
2022-08-31 21:45:24 +02:00
AlexVonB
f729c3ba43
first test, then lint
2022-08-31 21:44:53 +02:00
AlexVonB
eddfdae4ca
fix cli options: default heading, em symbols
2022-08-31 21:44:42 +02:00
AlexVonB
50b3b73a8f
bump to v0.11.4
2022-08-28 22:03:14 +02:00
AlexVonB
0310216877
fixed readme and added linter to detect this earlier
2022-08-28 22:02:49 +02:00
AlexVonB
9914474828
bump to v0.11.3
2022-08-28 21:42:46 +02:00
AlexVonB
6263f0e5f0
Switch to tox for tests ( #73 )
2022-08-28 21:40:52 +02:00
Adam Bambuch
17d8586843
don't escape text in pre tag (Fenced Code Blocks) ( #67 )
...
don't escape text in pre tag (Fenced Code Blocks)
2022-08-28 20:58:54 +02:00
AlexVonB
59eb069700
added readme for cli
2022-08-28 20:56:23 +02:00
Daniel J. Perry
e79971a7eb
Add console entry point ( #72 )
...
* Add console entry point
* Make entry point conform to linter settings.
2022-08-28 20:53:15 +02:00
AlexVonB
5adda130b8
bump to v0.11.2
2022-04-24 11:01:29 +02:00
AlexVonB
5f1b98e25d
added wrap option
...
closes #66
2022-04-24 11:00:04 +02:00
AlexVonB
16acd2b763
typo in readme
2022-04-24 10:59:22 +02:00
AlexVonB
207d0f4ec6
bump to v0.11.1
2022-04-14 10:25:25 +02:00
Mikko Korpela
ebb9ea713d
Fix detection of "first row, not headline" ( #63 )
...
Improved handling of "first row, not headline".
Works for tables with
1) neither thead nor tbody
2) tbody but no thead
2022-04-14 10:24:32 +02:00
AlexVonB
87b9f6c88e
bump to v0.11.0
2022-04-13 20:47:30 +02:00
AlexVonB
bda367dad9
Merge branch 'tdgroot-code_language_callback' into develop
...
closes #64
2022-04-13 20:44:18 +02:00
AlexVonB
61e8940486
added readme for callback
2022-04-13 20:42:38 +02:00
AlexVonB
35479d2d3b
Merge branch 'code_language_callback' of https://github.com/tdgroot/python-markdownify into tdgroot-code_language_callback
2022-04-13 20:25:37 +02:00
AlexVonB
b589863715
add escaping of asterisks and option to disable it
...
closes #62
2022-04-13 20:04:12 +02:00
AlexVonB
423b7e948c
add option to allow inline images in selected tags
...
fixes #61
2022-04-13 19:55:34 +02:00
Timon de Groot
0ea95de4d0
Add code language callback
2022-04-09 13:22:28 +02:00
AlexVonB
ed3eee78d2
fixed readme
2022-01-24 18:18:19 +01:00
AlexVonB
ddda696396
bump to v0.10.3
2022-01-23 11:01:26 +01:00
AlexVonB
0a1343a538
allow BeautifulSoup objects to be converted
2022-01-23 11:00:19 +01:00
AlexVonB
9d0b839b73
wording
2022-01-23 10:59:24 +01:00
AlexVonB
d3eff11617
bump to v0.10.2
2022-01-18 08:53:33 +01:00
AlexVonB
bd6b581122
add option to not escape underscores
...
closes #59
2022-01-18 08:51:44 +01:00
AlexVonB
c8f7cf63e3
bump to v0.10.1
2021-12-11 14:44:34 +01:00
AlexVonB
12a68a7d14
allow flake8 v4.x
...
closes #57
2021-12-11 14:43:14 +01:00
AlexVonB
478b1c7e13
bump to v0.10.0
2021-11-17 17:10:15 +01:00