Is it possible to use capture with templater at the same time? #389
Unanswered
cmdrSpectral
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @jgrobelny-dev At this point, I'm strongly considering making a feature like Templater's cursor feature. As for your request: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Kind a obsidian newbie here, but there is an issue that bugs me for two days. I would like to achieve one single trick -> append a line (or a couple of lines) based on a simple template. Open the file, and have the cursor properly placed. (I use it as micro journal -> single file fil dates, not a part of a daily note)
It seems impossible at the moment. The closes solution I got was to use "Capture" without using {{value}}. I got many lovely options on data placement, like the end of file, front of file, section of file, create section as needed and so on. Works like a charm - I just can't place my cursor. (I've seen the topic and templater solution didn't work)
I can you templater options but as they work great with "Template" type, the inline templater stuff (like <% tp.file.cursor(1) %>) get omitted.
My question is: can I have a "template" add with all the options "capture" has? Or can I have templater code evaluated when using capture format?
Additional small request -> can there be an option not to open a copy o fthe file if the file is already open and just focus on that tab?
I add data to one existing file, and sometimes it's open, and sometimes it's not. If it's already open, I do get a second tab with the file, focus switch would be enough.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions