Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkdownString ¶ added in v1.7.0
Types ¶
type CheckboxTransformer ¶
type CheckboxTransformer struct{}
type RenderedFile ¶
type RenderedFile struct { *git.File Type string `json:"type"` Lines []string `json:"-"` HTML string `json:"-"` }
func HighlightFile ¶
func HighlightFile(file *git.File) (RenderedFile, error)
func HighlightFiles ¶
func HighlightFiles(files []*git.File) []RenderedFile
func MarkdownFile ¶
func MarkdownFile(file *git.File) (RenderedFile, error)
type RenderedGist ¶
func HighlightGistPreview ¶
func HighlightGistPreview(gist *db.Gist) (RenderedGist, error)
func MarkdownGistPreview ¶
func MarkdownGistPreview(gist *db.Gist) (RenderedGist, error)
Click to show internal directories.
Click to hide internal directories.