Documentation
¶
Overview ¶
Package templates expands the variables of Obsidian's templates and daily-note templates (docs/design/vault.md#daily-notes).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Values ¶
type Values struct {
Title string // {{title}}
Now time.Time // {{date}} and {{time}}, formatted in its own location
DateFormat string // the moment.js format of {{date}}; "" is "YYYY-MM-DD"
TimeFormat string // the moment.js format of {{time}}; "" is "HH:mm"
}
Values supplies the title, clock and default formats for expansion.
Click to show internal directories.
Click to hide internal directories.