kubernetes/vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go

type roffRenderer

const titleHeader

const topLevelHeader

const secondLevelHdr

const otherHeader

const crTag

const emphTag

const emphCloseTag

const strongTag

const strongCloseTag

const breakTag

const paraTag

const hruleTag

const linkTag

const linkCloseTag

const codespanTag

const codespanCloseTag

const codeTag

const codeCloseTag

const quoteTag

const quoteCloseTag

const listTag

const listCloseTag

const dtTag

const dd2Tag

const tableStart

const tableEnd

const tableCellStart

const tableCellEnd

const tablePreprocessor

// NewRoffRenderer creates a new blackfriday Renderer for generating roff documents
// from markdown
func NewRoffRenderer() *roffRenderer {}

// GetExtensions returns the list of extensions used by this renderer implementation
func (r *roffRenderer) GetExtensions() blackfriday.Extensions {}

// RenderHeader handles outputting the header at document start
func (r *roffRenderer) RenderHeader(w io.Writer, ast *blackfriday.Node) {}

// RenderFooter handles outputting the footer at the document end; the roff
// renderer has no footer information
func (r *roffRenderer) RenderFooter(w io.Writer, ast *blackfriday.Node) {}

// RenderNode is called for each node in a markdown document; based on the node
// type the equivalent roff output is sent to the writer
func (r *roffRenderer) RenderNode(w io.Writer, node *blackfriday.Node, entering bool) blackfriday.WalkStatus {}

func (r *roffRenderer) handleHeading(w io.Writer, node *blackfriday.Node, entering bool) {}

func (r *roffRenderer) handleList(w io.Writer, node *blackfriday.Node, entering bool) {}

func (r *roffRenderer) handleItem(w io.Writer, node *blackfriday.Node, entering bool) {}

func (r *roffRenderer) handleTable(w io.Writer, node *blackfriday.Node, entering bool) {}

func (r *roffRenderer) handleTableCell(w io.Writer, node *blackfriday.Node, entering bool) {}

func nodeLiteralSize(node *blackfriday.Node) int {}

// because roff format requires knowing the column count before outputting any table
// data we need to walk a table tree and count the columns
func countColumns(node *blackfriday.Node) int {}

func out(w io.Writer, output string) {}

func escapeSpecialChars(w io.Writer, text []byte) {}

func escapeSpecialCharsLine(w io.Writer, text []byte) {}