functions

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExportedMap = map[string]interface{}{

	"anchorize":          Anchorize,
	"anchorizeAsciiOnly": AnchorizeAsciiOnly,
}

Functions

func Anchorize

func Anchorize(text string) string

Anchorize sanitizes anchor names using GitHub style anchors.

func AnchorizeAsciiOnly

func AnchorizeAsciiOnly(text string) string

AnchorizeAsciiOnly sanitizes anchor names using GitHub style anchors with non ascii characters stipped out.

Types

This section is empty.

Jump to

Keyboard shortcuts

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