blackfriday

package
v0.0.0-...-42d6f5d Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizedAnchorName

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