package
0.0.0-20240423165716-7ef61953e366
Repository: https://github.com/go-zh/website.git
Documentation: pkg.go.dev

# Functions

Format formats text to HTML according to the configuration cfg.
Spans is a helper function to make a Selection from a slice of spans.

# Structs

A Config configures how to format text as HTML.
A Span describes a text span [start, end).

# Type aliases

A Selection is an "iterator" function returning a text span.