Documentation ¶
Index ¶
- func RenderLink(name, link string) string
- type Table
- type Writer
- func (md *Writer) EmptyLine()
- func (md *Writer) String() string
- func (md *Writer) WriteHeader(h string)
- func (md *Writer) WriteLine(s string)
- func (md *Writer) WriteSubheader(sh string)
- func (md *Writer) WriteTable(table Table)
- func (md *Writer) WriteTitle(h string)
- func (md *Writer) WriteTopLevelHeader(h string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderLink ¶
RenderLink returns a rendered markdown link
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table describes a table in a markdown document
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is a writer to write contents in markdown format
func (*Writer) EmptyLine ¶
func (md *Writer) EmptyLine()
EmptyLine inserts an empty line to the markdown document
func (*Writer) WriteHeader ¶
WriteHeader writes a header to the markdown document
func (*Writer) WriteSubheader ¶
WriteSubheader writes a sub-header to the markdown document
func (*Writer) WriteTable ¶
WriteTable writes a table to the markdown document
func (*Writer) WriteTitle ¶
WriteTitle writes a title to the markdown document
func (*Writer) WriteTopLevelHeader ¶
WriteTopLevelHeader writes a header to the markdown document
Click to show internal directories.
Click to hide internal directories.