Releases: JohannesKaufmann/html-to-markdown
Releases · JohannesKaufmann/html-to-markdown
v1.3.5 fix html tags in code blocks
- fix html tags in code blocks
- render kbd, samp and tt tags as inline code
Full Changelog: v1.3.4...v1.3.5
v1.3.4 fix list and youtube
What's Changed
- fix: don't set prefix for li element outside list by @wcalandro in #45
- fix: youtube plugin by @vivook in #48
New Contributors
- @wcalandro made their first contribution in #45
- @vivook made their first contribution in #48
Full Changelog: v1.3.3...v1.3.4
v1.3.3
- feat: remove highlight span tags from code tags
- fix: newlines in bold/italic
- fix: don't render divider inside heading
v1.3.2
fix trimming of em in lists
v1.3.1
enable link brackets escaper
v1.3.0 - nested lists
Various nested lists are now supported 🎉
v1.2.0
v1.2.1 fix link title w. quote, multiple headings in link
v1.2.0
-
The
TablePlugin was improved and theTableCompatPlugin was added -
Added
AfterandBeforehooks to the converter. To see how it is used, have a look at the Table Plugin.
func Table() md.Plugin {
return func(c *md.Converter) []md.Rule {
// the plugin (when added via Use) gets called with the converter and can use the methods on it.
c.Before(func(selec *goquery.Selection) {
// manipulate the dom to move all caption elements outside the table
})
// it returns the rules
return []md.Rule{ ... }
}
}v1.1.0
You can now override the GetAbsoluteURL function in the Options. For example, you can configure a proxy for the images.
v1.0.0
The library works pretty well but you might still encounter some edge cases. Please report any generated invalid markdown...