html-to-markdown
html-to-markdown copied to clipboard
Convert HTML to Markdown with PHP
I installed html-to-markdown using the instructions you provided , but my Laravel project will have this error, I want to ask if you mean to put the data in the...
### Version(s) affected 5.0.2 ### Description Line breaks inside tags produce incorrect markdown ### How to reproduce HTML: ```html HelloWorld ``` Output: ```md **Hello world** ``` Expected output: ```md **Hello**...
### Version(s) affected 5.1 ### Description Given a string that contains a combination of HTML line breaks and markdown bullets, when the the HTML is converted, the bullets are escaped....
### Version(s) affected 5.0.2 ### Description ### How to reproduce html ```html GET /announcements ``` after convert ``` ``` GET /announcements ``` ```
Fixes #226
### Version(s) affected 5.1.0 ### Description According to https://spec.commonmark.org/0.30/#setext-heading-underline a line containing any number of `=`s makes the line above it a heading 1. ### How to reproduce HTML: ```...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://togithub.com/sebastianbergmann/phpunit)) | `^8.5 \|\| ^9.2` -> `^8.5 \|\|...
### Version(s) affected 5.1.1 ### Description basically, when converting (possibly rendered) html `` or `` block that contains some tags inside them, these extra tags will be included in the...
### Version(s) affected 5.1.1 ### Description ```php use League\HTMLToMarkdown\HtmlConverter; $converter = new HtmlConverter(); $md = $converter->convert(' line 1 ') var_export($md); ``` prints ```php '``` line 1 ```' ``` there is...
I'm working with WordPress content that uses figure elements. When I convert it to markdown, it produces the following result: ```html Small viewport show in light g reen color. The...