Categorygithub.com/wormi4ok/godown
modulepackage
0.5.0
Repository: https://github.com/wormi4ok/godown.git
Documentation: pkg.go.dev

# README

godown

A library to convert HTML into Markdown

Usage

err := godown.Convert(w, r, nil)
checkError(err)

Usage

$ go get github.com/wormi4ok/godown

License

MIT

Original Author

Yasuhiro Matsumoto (a.k.a. mattn)

# Functions

Convert converts HTML to Markdown.

# Structs

Option is optional information for Convert.

# Interfaces

CustomRule is an interface to define custom conversion rules Rule method accepts `next WalkFunc` as an argument, which `customRule` should call to let walk function continue parsing the content inside the HTML tag.

# Type aliases

WalkFunc type is a signature for functions traversing HTML nodes.