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.75.1
Published
Sep 15, 2020
Platform
windows/amd64
Imports
7 packages
Last checked
1 hour ago

Tools for package owners.