package blackfriday

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

Package blackfriday converts Markdown to HTML using Blackfriday v1.

Index

Variables

var Provider converter.ProviderProvider = provider{}

Provider is the package entry point.

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

Source Files

convert.go renderer.go

Directories

PathSynopsis
markup/blackfriday/blackfriday_config
Version
v0.76.5
Published
Oct 14, 2020
Platform
darwin/amd64
Imports
7 packages
Last checked
32 minutes ago

Tools for package owners.