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.68.2
Published
Mar 24, 2020
Platform
js/wasm
Imports
7 packages
Last checked
35 minutes ago

Tools for package owners.