quote

package
v0.0.0-...-5c30f4a Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindQuoted

func FindQuoted(s string) []int

func HighlightQuotes

func HighlightQuotes(n *html.Node)

func HighlightSpans

func HighlightSpans(orig *html.Node, spans []int, wrapNode *html.Node)

Wrap spans of text within a text node

func HighlightText

func HighlightText(n *html.Node, highlightTerms []string)

Types

type NodeSpans

type NodeSpans struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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