blackfriday

package
v0.139.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Overview

Package blackfriday holds some compability functions for the old Blackfriday v1 Markdown engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizedAnchorName added in v0.62.2

func SanitizedAnchorName(text string) string

SanitizedAnchorName is how Blackfriday sanitizes anchor names. Implementation borrowed from https://github.com/russross/blackfriday/blob/a477dd1646916742841ed20379f941cfa6c5bb6f/block.go#L1464 Note that Hugo removed its Blackfriday support in v0.100.0, but you can still use this strategy for auto ID generation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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