htmltext

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearEmoji added in v1.0.0

func ClearEmoji(s string) string

func ClearText

func ClearText(html string) (text string)

ClearText clear HTML, get the clear text

func FetchExcerpt

func FetchExcerpt(html, trimMarker string, limit int) (text string)

FetchExcerpt return the excerpt from the HTML string

func GetPicByUrl added in v1.0.0

func GetPicByUrl(Url string) string

func UrlTitle added in v1.0.0

func UrlTitle(title string) (text string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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