Skip to content

Commit

Permalink
chore(docs): auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh authored and github-actions[bot] committed Jul 11, 2024
1 parent 837e778 commit 18bda6d
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions doc/obsidian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ COMMANDS *obsidian-commands*
first by appending "–dry-run" to the command, e.g. `:ObsidianRename new-id
--dry-run`.
- `:ObsidianToggleCheckbox` to cycle through checkbox options.
- `:ObsidianNewFromTemplate [PATH] [TEMPLATE]` to create a new note from a
template in the templates folder. Selecting from a list using your preferred
picker. This command has one optional argument: the path to the new note.
- `:ObsidianTOC` to load the table of contents of the current note into a picker
list.

Expand Down Expand Up @@ -747,13 +750,15 @@ different key:

USING TEMPLATES *obsidian-using-templates*

To insert a template, run the command `:ObsidianTemplate`. This will open a
list of available templates in your templates folder with your preferred
picker. Select a template and hit `<CR>` to insert. Substitutions for `{{id}}`,
`{{title}}`, `{{path}}`, `{{date}}`, and `{{time}}` are supported
out-of-the-box.

For example, with the following configuration
To insert a template in the current note, run the command `:ObsidianTemplate`.
This will open a list of available templates in your templates folder with your
preferred picker. Select a template and hit `<CR>` to insert. To create a new
note from a template, run the command `:ObsidianNewFromTemplate`. This will
prompt you for an optional path for the new note and will open a list of
available templates in your templates folder with your preferred picker. Select
a template and hit `<CR>` to create the new note with the selected template.
Substitutions for `{{id}}`, `{{title}}`, `{{path}}`, `{{date}}`, and `{{time}}`
are supported out-of-the-box. For example, with the following configuration

>lua
{
Expand Down

0 comments on commit 18bda6d

Please sign in to comment.