Documentation
¶
Index ¶
- type HtmlBackend
- func (b *HtmlBackend) AddAuthor(author string)
- func (b *HtmlBackend) Close()
- func (b *HtmlBackend) EmitFootnote(note string)
- func (b *HtmlBackend) EmitPunctuation(p string)
- func (b *HtmlBackend) EmitWord(w string)
- func (b *HtmlBackend) EndBlockQuote()
- func (b *HtmlBackend) EndBold()
- func (b *HtmlBackend) EndItalic()
- func (b *HtmlBackend) EndParagraph()
- func (b *HtmlBackend) NewChapter(title string)
- func (b *HtmlBackend) NewLine()
- func (b *HtmlBackend) SetTitle(title string)
- func (b *HtmlBackend) StartBlockQuote()
- func (b *HtmlBackend) StartBold()
- func (b *HtmlBackend) StartItalic()
- func (b *HtmlBackend) StartParagraph()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HtmlBackend ¶
type HtmlBackend struct {
WordCount int
// contains filtered or unexported fields
}
func NewHtmlBackend ¶
func NewHtmlBackend(w io.WriteCloser) *HtmlBackend
func (*HtmlBackend) AddAuthor ¶
func (b *HtmlBackend) AddAuthor(author string)
func (*HtmlBackend) Close ¶
func (b *HtmlBackend) Close()
func (*HtmlBackend) EmitFootnote ¶
func (b *HtmlBackend) EmitFootnote(note string)
func (*HtmlBackend) EmitPunctuation ¶
func (b *HtmlBackend) EmitPunctuation(p string)
func (*HtmlBackend) EmitWord ¶
func (b *HtmlBackend) EmitWord(w string)
func (*HtmlBackend) EndBlockQuote ¶
func (b *HtmlBackend) EndBlockQuote()
func (*HtmlBackend) EndBold ¶
func (b *HtmlBackend) EndBold()
func (*HtmlBackend) EndItalic ¶
func (b *HtmlBackend) EndItalic()
func (*HtmlBackend) EndParagraph ¶
func (b *HtmlBackend) EndParagraph()
func (*HtmlBackend) NewChapter ¶
func (b *HtmlBackend) NewChapter(title string)
func (*HtmlBackend) NewLine ¶
func (b *HtmlBackend) NewLine()
func (*HtmlBackend) SetTitle ¶
func (b *HtmlBackend) SetTitle(title string)
func (*HtmlBackend) StartBlockQuote ¶
func (b *HtmlBackend) StartBlockQuote()
func (*HtmlBackend) StartBold ¶
func (b *HtmlBackend) StartBold()
func (*HtmlBackend) StartItalic ¶
func (b *HtmlBackend) StartItalic()
func (*HtmlBackend) StartParagraph ¶
func (b *HtmlBackend) StartParagraph()
Click to show internal directories.
Click to hide internal directories.