Documentation ¶
Index ¶
- func Execute(w io.Writer, fmt string, ctx *Context) error
- func HTML(env string, nodes ...types.Node) (htmlTemplate.HTML, error)
- func MD(env string, nodes ...types.Node) (string, error)
- func WriteHTML(w io.Writer, env string, nodes ...types.Node) error
- func WriteMD(w io.Writer, env string, nodes ...types.Node) error
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute renders a template of the fmt format into w. The fmt argument can also be a path to a local file.
Types ¶
Click to show internal directories.
Click to hide internal directories.