Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertBlock ¶
type AlertBlock struct {
Content string
}
func (AlertBlock) RenderHTML ¶
func (b AlertBlock) RenderHTML() string
func (AlertBlock) RenderText ¶
func (b AlertBlock) RenderText() string
type ButtonBlock ¶
func (ButtonBlock) RenderHTML ¶
func (b ButtonBlock) RenderHTML() string
func (ButtonBlock) RenderText ¶
func (b ButtonBlock) RenderText() string
type DivBlock ¶
A div represents its children
func (DivBlock) RenderHTML ¶
func (DivBlock) RenderText ¶
type DividerBlock ¶
func (DividerBlock) RenderHTML ¶
func (b DividerBlock) RenderHTML() string
func (DividerBlock) RenderText ¶
func (b DividerBlock) RenderText() string
type HeaderBlock ¶
type HeaderBlock struct {
Content string
}
HeaderBlock represents a large page header with text
func (HeaderBlock) RenderHTML ¶
func (b HeaderBlock) RenderHTML() string
func (HeaderBlock) RenderText ¶
func (b HeaderBlock) RenderText() string
type MarkdownBlock ¶
type MarkdownBlock struct {
Content string
}
MarkdownBlock has its content passed through blackfriday for HTML and returns the markdown representation for plaintext
func (MarkdownBlock) RenderHTML ¶
func (b MarkdownBlock) RenderHTML() string
func (MarkdownBlock) RenderText ¶
func (b MarkdownBlock) RenderText() string
type ParagraphBlock ¶
type ParagraphBlock struct {
Content string
}
ParagraphBlock represents a basic block of text
func (ParagraphBlock) RenderHTML ¶
func (b ParagraphBlock) RenderHTML() string
func (ParagraphBlock) RenderText ¶
func (b ParagraphBlock) RenderText() string
Click to show internal directories.
Click to hide internal directories.