Text Processing / Markup Languages

13 packages

Packages (13)

toml

TOML configuration format (encoder/decoder with reflection).

4,891 541

goldmark

A Markdown parser written in Go. Easy to extend, standard (CommonMark) compliant, well structured.

4,576 283

html-to-markdown

Convert HTML to Markdown. Even works with entire websites and can be extended through rules.

3,375 183

go-toml

Go library for the TOML format with query support and handy cli tools.

1,902 231

htmlquery

An XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression.

780 77

mxj

Encode / decode XML as JSON or map[string]interface{}; extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.

633 117

goq

Declarative unmarshalling of HTML using struct tags with jQuery syntax (uses GoQuery).

271 21

bafi

Universal JSON, BSON, YAML, XML translator to ANY format using templates.

112 7

go-output-format

Output go structures into multiple formats (YAML/JSON/etc) in your command line app.

18 2

bbConvert

Converts bbCode to HTML that allows you to add support for custom bbCode tags.

12 3

htmlyaml

Rich rendering of YAML as HTML in Go.

5 3

htree

Traverse, navigate, filter, and otherwise process trees of [html.Node](https://pkg.go.dev/golang.org/x/net/html#Node) objects.

4