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

fix(deps): update module github.com/johanneskaufmann/html-to-markdown to v2 #113

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/JohannesKaufmann/html-to-markdown v1.5.0 -> v2.2.1 age adoption passing confidence

Release Notes

JohannesKaufmann/html-to-markdown (github.com/JohannesKaufmann/html-to-markdown)

v2.2.1

Compare Source

Changelog

  • 43b9c81 github actions: publish deb packages

v2.2.0

Compare Source

Changelog

  • 5af1444 cli: add include & exclude selectors
  • 4d6b2ff converter: allow base domain with url scheme
  • c9b6dbc github: add issue forms

v2.1.0

Compare Source

V2 Release

The new version v2 has been released 🚀

It is a rewrite from the ground up — even more accurate than the v1 version!

Some new features:

  • Nested lists: Improved handling of deeply nested lists
  • Hard line breaks: Proper support for <br /> tags
  • Smart escaping: Only escape characters if they would be mistaken for markdown syntax
  • Powerful Plugins: The new architecture allows plugins to hook into every part of the converting process.
  • Improved Golang API: Simpler, more ergonomic API. For most cases htmltomarkdown.ConvertString(input) works out of the box.
  • CLI: The cli is now part of the repository
  • and more much...

Try it now

Since there are breaking changes, the path now has the "/v2" suffix. This also allows you to run v1 and v2 in parallel.

go get -u github.com/JohannesKaufmann/html-to-markdown/v2
package main

import (
	"fmt"
	"log"

	htmltomarkdown "github.com/JohannesKaufmann/html-to-markdown/v2"
)

func main() {
	input := `<strong>Bold Text</strong>`

	markdown, err := htmltomarkdown.ConvertString(input)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(markdown)
	// Output: **Bold Text**
}

v1.6.0: - improved YoutubeEmbed

Compare Source

  • Add support for youtube-nocookie.com domain in YoutubeEmbed plugin

Thanks @​devAbreu for submitting a PR 🙏


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Nov 6, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 7 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.23.4
github.com/PuerkitoBio/goquery v1.8.1 -> v1.9.2
github.com/andybalholm/cascadia v1.3.1 -> v1.3.2
github.com/mattn/go-isatty v0.0.19 -> v0.0.20
golang.org/x/crypto v0.16.0 -> v0.29.0
golang.org/x/net v0.19.0 -> v0.31.0
golang.org/x/sys v0.15.0 -> v0.27.0
golang.org/x/text v0.14.0 -> v0.20.0

@renovate renovate bot force-pushed the renovate/github.com-johanneskaufmann-html-to-markdown-2.x branch 3 times, most recently from 1790290 to 373da92 Compare November 21, 2024 23:23
@renovate renovate bot force-pushed the renovate/github.com-johanneskaufmann-html-to-markdown-2.x branch from 373da92 to 6a87428 Compare December 22, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants