Skip to content

mschoch/blackfriday-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

blackfriday-text

A text renderer for the blackfriday markdown processor.

Usage

	import (
		"github.com/mschoch/blackfriday-text"
		"github.com/russross/blackfriday"
	)

	extensions := 0
	renderer := blackfridaytext.TextRenderer()
	output := blackfriday.Markdown(input, renderer, extensions)

License

Apache License Version 2.0

Why?

Why would you want to output markdown as text? Isn't it already text?

Yes, but sometimes you want to remove the formatting. For example, prior to feeding it into a text index, its helpful to remove the formatting characters.

About

A plain text formatter for the blackfriday markdown processor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages