kubernetes/vendor/github.com/russross/blackfriday/v2/html.go

type HTMLFlags

const HTMLFlagsNone

const SkipHTML

const SkipImages

const SkipLinks

const Safelink

const NofollowLinks

const NoreferrerLinks

const NoopenerLinks

const HrefTargetBlank

const CompletePage

const UseXHTML

const FootnoteReturnLinks

const Smartypants

const SmartypantsFractions

const SmartypantsDashes

const SmartypantsLatexDashes

const SmartypantsAngledQuotes

const SmartypantsQuotesNBSP

const TOC

var htmlTagRe

const htmlTag

const closeTag

const openTag

const attribute

const attributeValue

const attributeValueSpec

const attributeName

const cdata

const declaration

const doubleQuotedValue

const htmlComment

const processingInstruction

const singleQuotedValue

const tagName

const unquotedValue

type HTMLRendererParameters

type HTMLRenderer

const xhtmlClose

const htmlClose

// NewHTMLRenderer creates and configures an HTMLRenderer object, which
// satisfies the Renderer interface.
func NewHTMLRenderer(params HTMLRendererParameters) *HTMLRenderer {}

func isHTMLTag(tag []byte, tagname string) bool {}

// Look for a character, but ignore it when it's in any kind of quotes, it
// might be JavaScript
func skipUntilCharIgnoreQuotes(html []byte, start int, char byte) int {}

func findHTMLTagPos(tag []byte, tagname string) (bool, int) {}

func skipSpace(tag []byte, i int) int {}

func isRelativeLink(link []byte) (yes bool) {}

func (r *HTMLRenderer) ensureUniqueHeadingID(id string) string {}

func (r *HTMLRenderer) addAbsPrefix(link []byte) []byte {}

func appendLinkAttrs(attrs []string, flags HTMLFlags, link []byte) []string {}

func isMailto(link []byte) bool {}

func needSkipLink(flags HTMLFlags, dest []byte) bool {}

func isSmartypantable(node *Node) bool {}

func appendLanguageAttr(attrs []string, info []byte) []string {}

func (r *HTMLRenderer) tag(w io.Writer, name []byte, attrs []string) {}

func footnoteRef(prefix string, node *Node) []byte {}

func footnoteItem(prefix string, slug []byte) []byte {}

func footnoteReturnLink(prefix, returnLink string, slug []byte) []byte {}

func itemOpenCR(node *Node) bool {}

func skipParagraphTags(node *Node) bool {}

func cellAlignment(align CellAlignFlags) string {}

func (r *HTMLRenderer) out(w io.Writer, text []byte) {}

func (r *HTMLRenderer) cr(w io.Writer) {}

var nlBytes

var gtBytes

var spaceBytes

var brTag

var brXHTMLTag

var emTag

var emCloseTag

var strongTag

var strongCloseTag

var delTag

var delCloseTag

var ttTag

var ttCloseTag

var aTag

var aCloseTag

var preTag

var preCloseTag

var codeTag

var codeCloseTag

var pTag

var pCloseTag

var blockquoteTag

var blockquoteCloseTag

var hrTag

var hrXHTMLTag

var ulTag

var ulCloseTag

var olTag

var olCloseTag

var dlTag

var dlCloseTag

var liTag

var liCloseTag

var ddTag

var ddCloseTag

var dtTag

var dtCloseTag

var tableTag

var tableCloseTag

var tdTag

var tdCloseTag

var thTag

var thCloseTag

var theadTag

var theadCloseTag

var tbodyTag

var tbodyCloseTag

var trTag

var trCloseTag

var h1Tag

var h1CloseTag

var h2Tag

var h2CloseTag

var h3Tag

var h3CloseTag

var h4Tag

var h4CloseTag

var h5Tag

var h5CloseTag

var h6Tag

var h6CloseTag

var footnotesDivBytes

var footnotesCloseDivBytes

func headingTagsFromLevel(level int) ([]byte, []byte) {}

func (r *HTMLRenderer) outHRTag(w io.Writer) {}

// RenderNode is a default renderer of a single node of a syntax tree. For
// block nodes it will be called twice: first time with entering=true, second
// time with entering=false, so that it could know when it's working on an open
// tag and when on close. It writes the result to w.
//
// The return value is a way to tell the calling walker to adjust its walk
// pattern: e.g. it can terminate the traversal by returning Terminate. Or it
// can ask the walker to skip a subtree of this node by returning SkipChildren.
// The typical behavior is to return GoToNext, which asks for the usual
// traversal to the next node.
func (r *HTMLRenderer) RenderNode(w io.Writer, node *Node, entering bool) WalkStatus {}

// RenderHeader writes HTML document preamble and TOC if requested.
func (r *HTMLRenderer) RenderHeader(w io.Writer, ast *Node) {}

// RenderFooter writes HTML document footer.
func (r *HTMLRenderer) RenderFooter(w io.Writer, ast *Node) {}

func (r *HTMLRenderer) writeDocumentHeader(w io.Writer) {}

func (r *HTMLRenderer) writeTOC(w io.Writer, ast *Node) {}