Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/JohannesKaufmann/html-to-markdown/v2 from 2.2.2 to 2.3.0 #24

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2025

Bumps github.com/JohannesKaufmann/html-to-markdown/v2 from 2.2.2 to 2.3.0.

Release notes

Sourced from github.com/JohannesKaufmann/html-to-markdown/v2's releases.

v2.3.0 - table plugin

1. Table Plugin

There is a new table plugin for v2 🥳

Use it in go:

conv := converter.NewConverter(
	converter.WithPlugins(
		base.NewBasePlugin(),
		commonmark.NewCommonmarkPlugin(),
		table.NewTablePlugin(), // <-- NEW
	),
)

Or --plugin-table for the CLI.

2. CLI File input and output

The CLI can now work directly with the filesystem:

$ html2markdown --input file.html --output file.md
$ html2markdown --input "src/*.html" --output "dist/"

Changelog

  • 2d9c0c76ad58c082ca9dd0bdbe7947cb3234804e Bump github.com/agnivade/levenshtein from 1.2.0 to 1.2.1
  • 2e1f9fd84e4ed5e80f8a10780ad8311f7ea87baa Bump github.com/muesli/termenv from 0.15.2 to 0.16.0
  • 7054d30700a91b19e00666f538011a48e3363c39 Bump golang.org/x/net from 0.33.0 to 0.35.0
  • 3d2ff94682d76b0c73a4f35a396815ce77ea13e0 Merge pull request #134 from JohannesKaufmann/improve-hard-line-break-2
  • 73f4145828cf2925f12c68ed5123a852ddf3128b Merge pull request #135 from kinensake/fix-code-block-in-list
  • 3f762f54e3379fb4575b0b2683272078688d8ac0 Merge pull request #139 from JohannesKaufmann/dependabot/go_modules/github.com/agnivade/levenshtein-1.2.1
  • 7e02068d7c54522059f1e75d34084f102009f7b0 Merge pull request #141 from eko/patch-1
  • 9c0410af8bbb8f646c19ee5340296a681804df22 Merge pull request #142 from JohannesKaufmann/dependabot/go_modules/golang.org/x/net-0.35.0
  • 8a661fac019b22dcd66aa8b27a06e7ae6db49113 Merge pull request #143 from JohannesKaufmann/dependabot/go_modules/github.com/muesli/termenv-0.16.0
  • 43dad285912dc903140a26a7892dcb0dff76e226 Removed invalid URL Printf warning
  • 87f20d33b09fd1bf29e558b25df16bc1c4c29f34 add code block in list test to golden files
  • ceeec4b277159f76712b2abc2c417f5737ada540 add test cases for link with newlines
  • 7fca0c16d383d8fb33945447c4992cd77fa216e7 cli-add-table-plugin (#146)
  • 7506c18cb157ca647abf761909126cdbe9e01dc1 cli: added --input and --output flags (#137)
  • d64b97aa5c88443135962d4d1036269c314f6a7a escape multiline func prefers hard line break
  • 29db0709e6e3c0a50c3e457bea1b165c5e34fe19 escape multiline uses other trim newline func
  • 7db53b2b7a3db0e930c9a28a8fb8eda94ae7c834 fix render code block in list
  • 6b0ee5847c48b2e145d973db9570a8c1ecc3fcab improve handling of hard line breaks when removing newlines
  • bd152189b91694fc7cf2fae385e48f96163e01ef plugin: added table plugin (#144)
  • 6a359b11e77ceff6a5f8442e18ed327982414d69 remove unused constants in render list test

... (truncated)

Commits
  • 7fca0c1 cli-add-table-plugin (#146)
  • 3f762f5 Merge pull request #139 from JohannesKaufmann/dependabot/go_modules/github.co...
  • 2d9c0c7 Bump github.com/agnivade/levenshtein from 1.2.0 to 1.2.1
  • 8a661fa Merge pull request #143 from JohannesKaufmann/dependabot/go_modules/github.co...
  • 9c0410a Merge pull request #142 from JohannesKaufmann/dependabot/go_modules/golang.or...
  • 2e1f9fd Bump github.com/muesli/termenv from 0.15.2 to 0.16.0
  • 7506c18 cli: added --input and --output flags (#137)
  • bd15218 plugin: added table plugin (#144)
  • 7054d30 Bump golang.org/x/net from 0.33.0 to 0.35.0
  • 7e02068 Merge pull request #141 from eko/patch-1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/JohannesKaufmann/html-to-markdown/v2](https://github.com/JohannesKaufmann/html-to-markdown) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/JohannesKaufmann/html-to-markdown/releases)
- [Changelog](https://github.com/JohannesKaufmann/html-to-markdown/blob/main/.goreleaser.yaml)
- [Commits](JohannesKaufmann/html-to-markdown@v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/JohannesKaufmann/html-to-markdown/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 3, 2025
@zkep zkep merged commit 750ae10 into master Mar 4, 2025
3 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/JohannesKaufmann/html-to-markdown/v2-2.3.0 branch March 4, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant