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: docs/docs/Choices/CaptureChoice.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@ Allows to quickly capture your input and save it from anywhere in Obsidian, with
16
16
_Capture To_ is the name of the file you are capturing to.
17
17
You can choose to either enable _Capture to active file_, or you can enter a file name in the _File Name_ input field.
18
18
19
+
QuickAdd treats file names as basename-first by default:
20
+
- If you do **not** provide an extension, QuickAdd creates/targets a Markdown file (`.md`).
21
+
- If you provide an explicit supported extension (for example `.md` or `.canvas`), QuickAdd keeps that extension.
22
+
- Capture to `.base` files is not supported. Use a Template choice for `.base` workflows.
23
+
19
24
This field also supports the [format syntax](/FormatSyntax.md), which allows you to use dynamic file names.
20
25
I have one for my daily journal with the name `bins/daily/{{DATE:gggg-MM-DD - ddd MMM D}}.md`.
21
26
This automatically finds the file for the day, and whatever I enter will be captured to it.
@@ -140,6 +145,8 @@ If you do not enable this, QuickAdd will default to `{{VALUE}}`, which will inse
140
145
141
146
You can use [format syntax](/FormatSyntax.md) here, which allows you to use dynamic values in your capture format.
142
147
148
+
If you want to insert `.base` content into your current note, keep **Capture to active file** enabled and use a `.base` template token in the capture format. See [Capture: Insert a Related Notes Base into an MOC Note](/Examples/Capture_InsertBaseTemplateIntoActiveFile.md).
149
+
143
150
If your capture format includes an inline `js quickadd` block and you need to
144
151
transform user input, prefer reading input in script code through
145
152
`this.quickAddApi.inputPrompt(...)` and/or assigning script variables on
Copy file name to clipboardExpand all lines: docs/docs/Choices/TemplateChoice.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The template choice type is not meant to be a replacement for [Templater](https:
7
7
## Mandatory
8
8
**Template Path**. This is a path to the template you wish to insert. Paths are vault-relative; a leading `/` is ignored.
9
9
10
-
QuickAdd supports both markdown (`.md`) and canvas (`.canvas`) templates. When using a canvas template, the created file will also be a canvas file with the same extension.
10
+
QuickAdd supports markdown (`.md`), canvas (`.canvas`), and base (`.base`) templates. The created file uses the same extension as the template.
11
11
12
12
## Optional
13
13
**File Name Format**. You can specify a format for the file name, which is based on the format syntax - which you can see further down this page.
0 commit comments