The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Apply substitutes all template variables in content string.
Returns an error if any date offset is malformed.
Known variables (DATE, WEEKNO, TITLE) are resolved from ctx.
Unknown variables are resolved from userVars (may be nil).
Unresolvable variables are left as-is.
UnknownVars returns the variable names found in content that are not
automatically substituted. The result is ordered by first appearance
and deduplicated.
type TemplateContext struct {
Title string// note filename stem (may be empty for insert) Now time.Time// zero value >> time.Now() used WeekStart string// "monday" or "sunday"}
TemplateContext holds the values used to substitute known variables.