Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parsed ¶
type Parsed struct {
// contains filtered or unexported fields
}
Parsed holds the intermediate representation of a fetched article, allowing re-rendering at different widths without re-fetching.
func NewParsedFromMarkdown ¶
NewParsedFromMarkdown creates a Parsed value from raw Markdown text, bypassing the network fetch. Intended for tests that need a Parsed without hitting a real URL.
Click to show internal directories.
Click to hide internal directories.