renderer

package
v0.0.0-...-7fd3dae Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UNORDERED = 1 << iota
	ORDERED
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	// contains filtered or unexported fields
}
func (options *Console) AutoLink(out *bytes.Buffer, link []byte, kind int)

func (*Console) BlockCode

func (options *Console) BlockCode(out *bytes.Buffer, text []byte, lang string)

func (*Console) BlockHtml

func (options *Console) BlockHtml(out *bytes.Buffer, text []byte)

func (*Console) BlockQuote

func (options *Console) BlockQuote(out *bytes.Buffer, text []byte)

func (*Console) CodeSpan

func (options *Console) CodeSpan(out *bytes.Buffer, text []byte)

func (*Console) DocumentFooter

func (options *Console) DocumentFooter(out *bytes.Buffer)

func (*Console) DocumentHeader

func (options *Console) DocumentHeader(out *bytes.Buffer)

func (*Console) DoubleEmphasis

func (options *Console) DoubleEmphasis(out *bytes.Buffer, text []byte)

func (*Console) Emphasis

func (options *Console) Emphasis(out *bytes.Buffer, text []byte)

func (*Console) Entity

func (options *Console) Entity(out *bytes.Buffer, entity []byte)

func (*Console) FootnoteItem

func (options *Console) FootnoteItem(out *bytes.Buffer, name, text []byte, flags int)

func (*Console) FootnoteRef

func (options *Console) FootnoteRef(out *bytes.Buffer, ref []byte, id int)

func (*Console) Footnotes

func (options *Console) Footnotes(out *bytes.Buffer, text func() bool)

func (*Console) GetFlags

func (options *Console) GetFlags() int

func (*Console) HRule

func (options *Console) HRule(out *bytes.Buffer)

func (*Console) Header

func (options *Console) Header(out *bytes.Buffer, text func() bool, level int, id string)

func (*Console) Image

func (options *Console) Image(out *bytes.Buffer, link []byte, title []byte, alt []byte)

func (*Console) LineBreak

func (options *Console) LineBreak(out *bytes.Buffer)
func (options *Console) Link(out *bytes.Buffer, link []byte, title []byte, content []byte)

func (*Console) List

func (options *Console) List(out *bytes.Buffer, text func() bool, flags int)

func (*Console) ListItem

func (options *Console) ListItem(out *bytes.Buffer, text []byte, flags int)

func (*Console) NormalText

func (options *Console) NormalText(out *bytes.Buffer, text []byte)

func (*Console) Paragraph

func (options *Console) Paragraph(out *bytes.Buffer, text func() bool)

func (*Console) RawHtmlTag

func (options *Console) RawHtmlTag(out *bytes.Buffer, tag []byte)

func (*Console) StrikeThrough

func (options *Console) StrikeThrough(out *bytes.Buffer, text []byte)

func (*Console) Table

func (options *Console) Table(out *bytes.Buffer, header []byte, body []byte, columnData []int)

func (*Console) TableCell

func (options *Console) TableCell(out *bytes.Buffer, text []byte, flags int)

func (*Console) TableHeaderCell

func (options *Console) TableHeaderCell(out *bytes.Buffer, text []byte, flags int)

func (*Console) TableRow

func (options *Console) TableRow(out *bytes.Buffer, text []byte)

func (*Console) TitleBlock

func (options *Console) TitleBlock(out *bytes.Buffer, text []byte)

func (*Console) TripleEmphasis

func (options *Console) TripleEmphasis(out *bytes.Buffer, text []byte)

type ConsoleGit

type ConsoleGit struct {
	// contains filtered or unexported fields
}
func (options *ConsoleGit) AutoLink(out *bytes.Buffer, link []byte, kind int)

func (*ConsoleGit) BlockCode

func (options *ConsoleGit) BlockCode(out *bytes.Buffer, text []byte, lang string)

func (*ConsoleGit) BlockHtml

func (options *ConsoleGit) BlockHtml(out *bytes.Buffer, text []byte)

func (*ConsoleGit) BlockQuote

func (options *ConsoleGit) BlockQuote(out *bytes.Buffer, text []byte)

func (*ConsoleGit) CodeSpan

func (options *ConsoleGit) CodeSpan(out *bytes.Buffer, text []byte)

func (*ConsoleGit) DocumentFooter

func (options *ConsoleGit) DocumentFooter(out *bytes.Buffer)

func (*ConsoleGit) DocumentHeader

func (options *ConsoleGit) DocumentHeader(out *bytes.Buffer)

func (*ConsoleGit) DoubleEmphasis

func (options *ConsoleGit) DoubleEmphasis(out *bytes.Buffer, text []byte)

func (*ConsoleGit) Emphasis

func (options *ConsoleGit) Emphasis(out *bytes.Buffer, text []byte)

func (*ConsoleGit) Entity

func (options *ConsoleGit) Entity(out *bytes.Buffer, entity []byte)

func (*ConsoleGit) FootnoteItem

func (options *ConsoleGit) FootnoteItem(out *bytes.Buffer, name, text []byte, flags int)

func (*ConsoleGit) FootnoteRef

func (options *ConsoleGit) FootnoteRef(out *bytes.Buffer, ref []byte, id int)

func (*ConsoleGit) Footnotes

func (options *ConsoleGit) Footnotes(out *bytes.Buffer, text func() bool)

func (*ConsoleGit) GetFlags

func (options *ConsoleGit) GetFlags() int

func (*ConsoleGit) HRule

func (options *ConsoleGit) HRule(out *bytes.Buffer)

func (*ConsoleGit) Header

func (options *ConsoleGit) Header(out *bytes.Buffer, text func() bool, level int, id string)

func (*ConsoleGit) Image

func (options *ConsoleGit) Image(out *bytes.Buffer, link []byte, title []byte, alt []byte)

func (*ConsoleGit) LineBreak

func (options *ConsoleGit) LineBreak(out *bytes.Buffer)
func (options *ConsoleGit) Link(out *bytes.Buffer, link []byte, title []byte, content []byte)

func (*ConsoleGit) List

func (options *ConsoleGit) List(out *bytes.Buffer, text func() bool, flags int)

func (*ConsoleGit) ListItem

func (options *ConsoleGit) ListItem(out *bytes.Buffer, text []byte, flags int)

func (*ConsoleGit) NormalText

func (options *ConsoleGit) NormalText(out *bytes.Buffer, text []byte)

func (*ConsoleGit) Paragraph

func (options *ConsoleGit) Paragraph(out *bytes.Buffer, text func() bool)

func (*ConsoleGit) RawHtmlTag

func (options *ConsoleGit) RawHtmlTag(out *bytes.Buffer, tag []byte)

func (*ConsoleGit) StrikeThrough

func (options *ConsoleGit) StrikeThrough(out *bytes.Buffer, text []byte)

func (*ConsoleGit) Table

func (options *ConsoleGit) Table(out *bytes.Buffer, header []byte, body []byte, columnData []int)

func (*ConsoleGit) TableCell

func (options *ConsoleGit) TableCell(out *bytes.Buffer, text []byte, flags int)

func (*ConsoleGit) TableHeaderCell

func (options *ConsoleGit) TableHeaderCell(out *bytes.Buffer, text []byte, flags int)

func (*ConsoleGit) TableRow

func (options *ConsoleGit) TableRow(out *bytes.Buffer, text []byte)

func (*ConsoleGit) TitleBlock

func (options *ConsoleGit) TitleBlock(out *bytes.Buffer, text []byte)

func (*ConsoleGit) TripleEmphasis

func (options *ConsoleGit) TripleEmphasis(out *bytes.Buffer, text []byte)

Jump to

Keyboard shortcuts

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