Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCMDMap = LangExecCMDMap{ "sh": buildStdinCMDFunc("sh"), "text": func(ctx context.Context, script []byte) ([]byte, error) { return script, nil }, }
Functions ¶
Types ¶
type HTMLRenderer ¶
type HTMLRenderer struct {
// contains filtered or unexported fields
}
func NewHTMLRenderer ¶
func NewHTMLRenderer() *HTMLRenderer
func (*HTMLRenderer) RenderFooter ¶
func (r *HTMLRenderer) RenderFooter(w io.Writer, ast *blackfriday.Node)
func (*HTMLRenderer) RenderHeader ¶
func (r *HTMLRenderer) RenderHeader(w io.Writer, ast *blackfriday.Node)
func (*HTMLRenderer) RenderNode ¶
func (r *HTMLRenderer) RenderNode(w io.Writer, node *blackfriday.Node, entering bool) blackfriday.WalkStatus
type Handler ¶
func NewHandler ¶
type LangExecCMDMap ¶
Click to show internal directories.
Click to hide internal directories.