Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeWriter ¶
func MakeWriter(w io.Writer) io.WriteCloser
MakeWriter creates a io.WriteCloser out of any io.Writer
func MakeWriterCloser ¶
func MakeWriterCloser(w io.Writer, fn func() error) io.WriteCloser
MakeWriterCloser creates a io.WriterCloser
Types ¶
type Markdown ¶
type Markdown struct {
// contains filtered or unexported fields
}
Markdown renders a markdown document with a writer and some Options for rendering
func NewMarkdown ¶
func NewMarkdown(w io.WriteCloser, options Options) *Markdown
NewMarkdown creates a Markdown with the correct dependencies
type Options ¶
Options define certain setup values for rendering markdown
func NewApiaryOptions ¶
NewApiaryOptions make new Options for the Apiary format
Click to show internal directories.
Click to hide internal directories.