Documentation
¶
Index ¶
- type Markdown
- func (m *Markdown) CodeSnippet(code string) (int, error)
- func (m *Markdown) Comment(comment string) (int, error)
- func (m *Markdown) H1(text string) (int, error)
- func (m *Markdown) H2(text string) (int, error)
- func (m *Markdown) H3(text string) (int, error)
- func (m *Markdown) H4(text string) (int, error)
- func (m *Markdown) Hr() (int, error)
- func (m *Markdown) InlineCode(code string) (int, error)
- func (m *Markdown) OrderedList(list ...string)
- func (m *Markdown) UnorderedList(list ...string)
- func (m *Markdown) WriteString(s string) (int, error)
- func (m *Markdown) Writef(format string, args ...interface{}) (int, error)
- func (m *Markdown) Writeln(text string) (int, error)
- func (m *Markdown) Writelnf(format string, args ...interface{}) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Markdown ¶
Markdown builder
func NewMarkdown ¶
NewMarkdown return new instance of Markdown
func (*Markdown) CodeSnippet ¶
CodeSnippet to create code snippet
func (*Markdown) InlineCode ¶
InlineCode to create inline code
func (*Markdown) OrderedList ¶
OrderedList to create ordered list
func (*Markdown) UnorderedList ¶
UnorderedList to create unorder list
func (*Markdown) WriteString ¶
WriteString to write string
Click to show internal directories.
Click to hide internal directories.