hugo: github.com/gohugoio/hugo/markup/blackfriday Index | Files | Directories

package blackfriday

import "github.com/gohugoio/hugo/markup/blackfriday"

Package blackfriday converts Markdown to HTML using Blackfriday v1.

Index

Package Files

convert.go renderer.go

Variables

var Provider converter.ProviderProvider = provider{}

Provider is the package entry point.

func SanitizedAnchorName Uses

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

Directories

PathSynopsis
blackfriday_config

Package blackfriday imports 7 packages (graph) and is imported by 8 packages. Updated 2020-01-15. Refresh now. Tools for package owners.