Documentation
¶
Index ¶
- func SanitizeURL(raw string) (string, bool)
- type Generator
- func (g *Generator) Bold(w io.Writer, n *ast.Bold) error
- func (g *Generator) Code(w io.Writer, n *ast.Code) error
- func (g *Generator) CodeIn(w io.Writer, n *ast.CodeIn) error
- func (g *Generator) Custom(w io.Writer, n *ast.Custom) error
- func (g *Generator) HR(w io.Writer, n *ast.HR) error
- func (g *Generator) Image(w io.Writer, n *ast.Image) error
- func (g *Generator) Indent(w io.Writer, n *ast.Indent) error
- func (g *Generator) Italic(w io.Writer, n *ast.Italic) error
- func (g *Generator) Link(w io.Writer, n *ast.Link) error
- func (g *Generator) Quote(w io.Writer, n *ast.Quote) error
- func (g *Generator) QuoteOf(w io.Writer, n *ast.QuoteOf) error
- func (g *Generator) Root(w io.Writer, n *ast.Root) error
- func (g *Generator) Spoiler(w io.Writer, n *ast.Spoiler) error
- func (g *Generator) Sub(w io.Writer, n *ast.Sub) error
- func (g *Generator) Sup(w io.Writer, n *ast.Sup) error
- func (g *Generator) Text(w io.Writer, t *ast.Text) error
- func (g *Generator) Underline(w io.Writer, n *ast.Underline) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeURL ¶
Types ¶
type Generator ¶
func NewGenerator ¶
func NewGenerator() *Generator
Click to show internal directories.
Click to hide internal directories.