Documentation
¶
Overview ¶
Package markdown allows reading and editing Markdown files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heading ¶
type Heading struct {
Level int // the level of the heading. 1 means it's the H1
Content string // the text of the heading
Header string // the heading itself
}
Heading represents a markdown Heading
type MD ¶
type MD struct {
Headings []Heading
}
MD represents a markdown file
func (MD) WriteContent ¶
WriteContent writes the MDs content to the given writer
Click to show internal directories.
Click to hide internal directories.