Skip to content

Releases: JohannesKaufmann/html-to-markdown

v1.3.5 fix html tags in code blocks

23 Jul 12:48

Choose a tag to compare

  • 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

25 May 17:07
a911e96

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.3...v1.3.4

v1.3.3

23 Jan 15:55

Choose a tag to compare

  • feat: remove highlight span tags from code tags
  • fix: newlines in bold/italic
  • fix: don't render divider inside heading

v1.3.2

22 Jan 14:20

Choose a tag to compare

fix trimming of em in lists

v1.3.1

14 Jan 19:32

Choose a tag to compare

enable link brackets escaper

v1.3.0 - nested lists

02 Jul 15:08

Choose a tag to compare

Various nested lists are now supported 🎉

v1.2.0

13 Jun 20:16

Choose a tag to compare

v1.2.1

fix link title w. quote, multiple headings in link

v1.2.0

10 Aug 13:18
f2fa6ac

Choose a tag to compare

  • The Table Plugin was improved and the TableCompat Plugin was added

  • Added After and Before hooks 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

06 Aug 17:09

Choose a tag to compare

You can now override the GetAbsoluteURL function in the Options. For example, you can configure a proxy for the images.

v1.0.0

30 Jul 09:41

Choose a tag to compare

The library works pretty well but you might still encounter some edge cases. Please report any generated invalid markdown...