Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/jaytaylor/html2text
/ functions
Functions
65 in github.com/jaytaylor/html2text
⨍
Functions
65
◇
Types & classes
9
↓ 21 callers
Method
emit
(data string)
html2text.go:384
↓ 14 callers
Method
traverseChildren
(node *html.Node)
html2text.go:374
↓ 14 callers
Function
wantString
(input string, output string, options ...Options)
html2text_test.go:962
↓ 8 callers
Function
asState
(b bool)
prettytables.go:205
↓ 6 callers
Method
String
()
html2text_test.go:937
↓ 3 callers
Method
wrapMode
()
prettytables.go:84
↓ 2 callers
Function
FromHTMLNode
FromHTMLNode renders text output from a pre-parsed HTML document.
html2text.go:25
↓ 2 callers
Function
FromReader
FromReader renders text output after parsing HTML for the specified io.Reader.
html2text.go:52
↓ 2 callers
Function
FromString
FromString parses HTML from the input string, then renders the text form.
html2text.go:65
↓ 2 callers
Method
MatchString
(string)
html2text_test.go:936
↓ 2 callers
Function
NewPrettyTablesOptions
NewPrettyTablesOptions creates PrettyTablesOptions with default settings
prettytables.go:34
↓ 2 callers
Function
getAttrVal
(node *html.Node, attrName string)
html2text.go:490
↓ 2 callers
Function
match
(input string, matcher StringMatcher, options ...Options)
html2text_test.go:966
↓ 2 callers
Method
paragraphHandler
paragraphHandler renders node children surrounded by double newlines.
html2text.go:267
↓ 2 callers
Method
renderEachChild
renderEachChild visits each direct child of a node and collects the sequence of textuual representaitons separated by a single newline.
html2text.go:471
↓ 2 callers
Method
traverse
(node *html.Node)
html2text.go:355
↓ 2 callers
Function
wantRegExp
(input string, outputRE string, options ...Options)
html2text_test.go:958
↓ 1 callers
Method
Row
()
prettytables.go:139
↓ 1 callers
Method
borderStyle
()
prettytables.go:197
↓ 1 callers
Method
breakLongLines
(data string)
html2text.go:422
↓ 1 callers
Method
configureTable
(table *tablewriter.Table)
prettytables.go:53
↓ 1 callers
Method
handleElement
(node *html.Node)
html2text.go:110
↓ 1 callers
Method
handleTableElement
handleTableElement is only to be invoked when options.PrettyTables is active.
html2text.go:278
↓ 1 callers
Method
init
()
html2text.go:102
↓ 1 callers
Method
mergeMode
()
prettytables.go:92
↓ 1 callers
Method
normalizeHrefLink
(link string)
html2text.go:463
↓ 1 callers
Method
renderSettings
()
prettytables.go:100
↓ 1 callers
Method
withStates
()
prettytables.go:116
Method
BottomLeft
()
prettytables.go:167
Method
BottomMid
()
prettytables.go:171
Method
BottomRight
()
prettytables.go:175
Method
Center
()
prettytables.go:135
Method
Column
()
prettytables.go:143
Function
Example
()
html2text_test.go:1013
Method
HeaderLeft
()
prettytables.go:179
Method
HeaderMid
()
prettytables.go:183
Method
HeaderRight
()
prettytables.go:187
Method
MatchString
(str string)
html2text_test.go:942
Method
MatchString
(str string)
html2text_test.go:951
Method
MidLeft
()
prettytables.go:159
Method
MidRight
()
prettytables.go:163
Method
Name
()
prettytables.go:131
Method
String
()
html2text_test.go:945
Method
String
()
html2text_test.go:954
Function
TestBlockquotes
(t *testing.T)
html2text_test.go:739
Function
TestBold
(t *testing.T)
html2text_test.go:669
Function
TestDiv
(t *testing.T)
html2text_test.go:702
Function
TestHeadings
(t *testing.T)
html2text_test.go:624
Function
TestIgnoreStylesScriptsHead
(t *testing.T)
html2text_test.go:784
Function
TestImageAltTags
(t *testing.T)
html2text_test.go:575
Function
TestLinks
(t *testing.T)
html2text_test.go:439
Function
TestOmitLinks
(t *testing.T)
html2text_test.go:527
Function
TestParagraphsAndBreaks
(t *testing.T)
html2text_test.go:104
Function
TestParseUTF8
TODO Add tests for FromHTMLNode and FromReader.
html2text_test.go:32
Function
TestPeriod
(t *testing.T)
html2text_test.go:911
Function
TestStrippingLists
(t *testing.T)
html2text_test.go:407
Function
TestStrippingWhitespace
(t *testing.T)
html2text_test.go:68
Function
TestTables
(t *testing.T)
html2text_test.go:160
Function
TestTablesWithDirectConfiguration
(t *testing.T)
html2text_test.go:359
Function
TestText
(t *testing.T)
html2text_test.go:840
Method
TopLeft
()
prettytables.go:147
Method
TopMid
()
prettytables.go:151
Method
TopRight
()
prettytables.go:155
Function
init
()
html2text_test.go:24
Function
main
()
cmd/html2text/main.go:11