Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackFriday ¶
type BlackFriday struct {
Option blackfriday.Extensions
}
BlackFriday Markdown解析器 https://github.com/russross/blackfriday
func (*BlackFriday) Markdown2HTML ¶
func (p *BlackFriday) Markdown2HTML(mdfile string) (html string, err error)
Markdown2HTML 将指定目录位置的markdown文件,解析生成html文档
func (*BlackFriday) Parse ¶
func (p *BlackFriday) Parse(input []byte) (html []byte)
Parse 通过BlackFriday解析器解析MD
Click to show internal directories.
Click to hide internal directories.