Documentation
¶
Index ¶
- func IsEscape(data []byte, i int) bool
- func RmvCr(str []byte) []byte
- func ToHTML(content string) string
- type BlockQuote
- type Bold
- type Chunk
- func ParseBlockQuote(text []byte) ([]Chunk, int)
- func ParseCode(text []byte, start int) ([]Chunk, int)
- func ParseEmph(text []byte, start int, eChar byte) ([]Chunk, int)
- func ParseHeader(text []byte) Chunk
- func ParseHighlight(text []byte, start int) ([]Chunk, int)
- func ParseInline(line []byte) []Chunk
- func ParseLink(text []byte, start int) ([]Chunk, int)
- func ParseOList(text []byte) (Chunk, int)
- func ParseQuickLink(text []byte, start int) ([]Chunk, int)
- func ParseStrikeThrough(text []byte, start int) ([]Chunk, int)
- func ParseSubScript(text []byte, start int) ([]Chunk, int)
- func ParseSuperScript(text []byte, start int) ([]Chunk, int)
- func ParseUList(text []byte) (Chunk, int)
- func Tokenize(content []byte) []Chunk
- type Code
- type CodeBlock
- type Email
- type Footnote
- type Header
- type Highlight
- type HorizontalRule
- type Image
- type Italic
- type Link
- type List
- type ListItem
- type Paragraph
- type Part
- type PlainText
- type StrikeThrough
- type Subscript
- type Superscript
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockQuote ¶
type BlockQuote struct {
Part
}
type Chunk ¶
type Chunk interface {
}
func ParseBlockQuote ¶
func ParseHeader ¶
func ParseInline ¶
func ParseOList ¶
func ParseStrikeThrough ¶
Extended syntax
func ParseUList ¶
type HorizontalRule ¶
type HorizontalRule struct {
}
type StrikeThrough ¶
type StrikeThrough struct {
Part
}
type Superscript ¶
type Superscript struct {
Part
}
Click to show internal directories.
Click to hide internal directories.