How to speed up a repetitive workflow w/ Text Snippets plugin #587
cameronj86
started this conversation in
Tips and Tricks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Text Snippets plugin works like snippets in a Code Editor: You create a template that you can trigger via a shortcut key/text phrase, and then use the tab button to jump to predefined locations. Metadata Menu plugin integrates nicely because it populates the dropdown menu at these locations too:
vokoscreenNG-2024-02-17_12-22-21.mp4
What is Happening in the Video
assign to a fileClass
hotkey assigned and use that shortcut to give the new document the fileClassDPD
. Now, the note is looking for the relevant fields.dpd
, and when I hit the tab button, all of the variables I'd like to complete are populatedDPD
file class were successfully loggedTo Replicate
Example Text Snippet used in video
$tb$
= jump here when the tab button is hit$nl$
= create a new linedpd : - DPD Reason:: $tb$$nl$- Relevant Playbook:: $tb$$nl$- **What is the recurring theme that makes the chart challenging/interesting**: $tb$$nl$- **What aspect of the chart contrasts with your typical understanding:** $tb$$nl$- **Elaborate on why your prior understanding might be inadequate/reformed:** $tb$$nl$- **What is the correct way to handle the situation:** $tb$$nl$- **Why is the proposed reframe/solution correct:** $tb$$nl$- Insights Score:: $tb$$nl$- Playbook Entry or FC Created:: false$tb$
Readability is shit but eventually you get the hang of it. I believe that Templater might have somewhat similar functionality but what I like about Text Snippets is that you can insert the snippet into existing notes. IMO, the best use case for me is using Templater for a parent fileClass fields, and then, if/when I use a child fileClass, I can append the missing fields via a snippet.
An added benefit is that the
$tb$
(tab) functionality works inside even if there's no snippet present. I have vanilla Obsidian templates that now use$tb$
functionality to input data more efficiently.Beta Was this translation helpful? Give feedback.
All reactions