Registry / serialization / russross-blackfriday-v2

russross-blackfriday-v2

JSON →
library2.1.0gogounverified

Package blackfriday is a markdown processor that converts Markdown text into HTML.

go get github.com/russross/blackfriday/v2
INSTALL
IMPORT
SIG · RUSSROSS-BLACKFRID
R
russross-blackfriday-v2
serializationgov2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

blackfriday
github.com/russross/blackfriday/v2

Converts Markdown input to HTML using Blackfriday.

package main import ( "fmt" "github.com/russross/blackfriday/v2" ) func main() { input := []byte("# Hello, World!") output := blackfriday.Run(input) fmt.Println(string(output)) }
Debug
Known issues
breakingBlackfriday v2 has breaking API changes from v1; the import path includes /v2.
fix
Use the import path github.com/russross/blackfriday/v2 and update your code to use the new API (e.g., blackfriday.Run instead of blackfriday.MarkdownCommon).
affects: >=2.0.0
Upgrade
Version history
2.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
russross-blackfriday-v2 — go get russross-blackfriday-v2 · libregistry