util

package
v2.0.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CutHTML added in v1.7.0

func CutHTML(html string) string

func CutMarkdown added in v1.7.0

func CutMarkdown(markdown string) string

func GetImagesFromMarkdown added in v1.7.0

func GetImagesFromMarkdown(markdown string) []string

GetImagesFromMarkdown returns a slice of image paths

func ParseMarkdown

func ParseMarkdown(markdown string) string

func Sanitize added in v1.7.0

func Sanitize(html string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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