You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/orgmode.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -712,6 +712,8 @@ Templates have the following fields:
712
712
* `template` (`string|string[]`) — body of the template that will be used when creating capture
713
713
* `target` (`string?`) — name of the file to which the capture content will be added. If the target is not specified, the content will be added to the `org_default_notes_file` (#orgdefaultnotesfile) file
714
714
* `headline` (`string?`) — title of the headline after which the capture content will be added. If no headline is specified, the content will be appended to the end of the file
715
+
* `datetree (boolean | { time_prompt: boolean })` — Create a date tree (https://orgmode.org/manual/Template-elements.html#FOOT84) with current day in the target file and put the capture content there.
716
+
When `time_prompt = true`, open up a date picker to select a date before opening up a capture buffer.
715
717
* `properties` (`table?`):
716
718
* `empty_lines` (`table|number?`) — if the value is a number, then empty lines are added before and after the content. If the value is a table, then the following fields are expected:
717
719
* `before` (`integer?`) — add empty lines to the beginning of the content
0 commit comments