util

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: GPL-3.0 Imports: 7 Imported by: 3

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 images, prepending the dataDir path if necessary

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