Documentation
¶
Overview ¶
Package templates provides handling templates user can specify.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTemplate ¶
ApplyTemplate reads a markdown template from the given path, injects the note's name and current date, and returns the rendered bytes.
Types ¶
type TemplateData ¶
TemplateData holds the variables that will be injected into the markdown templates.
Click to show internal directories.
Click to hide internal directories.