backends

package
v0.0.0-...-0d5da2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL