Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderMarkdown ¶
Types ¶
type Markdown ¶
type Markdown struct{}
The text/markdown content type.
func (*Markdown) RenderDisplayContent ¶
Render the markdown, sanitize the output, and return that for display.
func (*Markdown) RenderIndexContent ¶
Simply return the markdown for indexing.
type Plain ¶
type Plain struct{}
The text/plain content type.
func (*Plain) RenderDisplayContent ¶
Sanitize the output, replace newlines with HTML line breaks, and return the modified content.
func (*Plain) RenderIndexContent ¶
Simply return the content.
type Raw ¶
type Raw struct{}
The text/raw content type.
func (*Raw) RenderDisplayContent ¶
Simply returns the content.
func (*Raw) RenderIndexContent ¶
Simply returns the content.
Click to show internal directories.
Click to hide internal directories.