Documentation
¶
Overview ¶
Package markdown handles Markdown to HTML rendering.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTitle ¶
ExtractTitle extracts the first heading from Markdown source.
Types ¶
type Heading ¶
Heading represents a Markdown heading.
func ExtractHeadings ¶
ExtractHeadings extracts all headings from Markdown source.
type Link ¶
Link represents a Markdown link.
func ExtractLinks ¶
ExtractLinks extracts all links from Markdown source.
type Page ¶
type Page struct {
Slug string
Title string
Content string
Headings []Heading
FrontMatter map[string]string
FilePath string
}
Page represents a content page.
Click to show internal directories.
Click to hide internal directories.