html-to-markdown v1.2.0 Release Notes
Release Date: 2020-08-10 // about 4 years ago-
๐ The
Table
Plugin was improved and theTableCompat
Plugin was addedโ Added
After
andBefore
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 rulesreturn []md.Rule{ ... } } }
Previous changes from v1.1.0
-
๐ง You can now override the
GetAbsoluteURL
function in theOptions
. For example, you can configure a proxy for the images.