Documentation
¶
Overview ¶
Package markdown are a set of common markdownparser utils used in pllaces like sevki.org/troff
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Post ¶
type Post struct {
Title string
Date Time
Slug string
Authors []Author
Abstract string
Tags []string
}
Post holds info about the post
type Renderer ¶
type Renderer interface {
blackfriday.Renderer
Post() *Post
}
Renderer wraps the blackfriday.Renderer interface
func NewRenderer ¶
func NewRenderer(r blackfriday.Renderer) Renderer
NewRenderer takes a blackfriday.Renderer and returns a Renderer
Notes ¶
Bugs ¶
we get things that are not title blocks here
Click to show internal directories.
Click to hide internal directories.