Losing My Head Over Obsidian's Templater

 

I wasted a whole day trying to do something that apparently can't be done, namely, trying to automatically copy into the body of an Obsidian template, a custom metatag typed into the triple underscore frontmatter field. Don't try to replicate my foolishness.

Instead, I ultimately realized I could use a nonsense text string  like "xxtp0" (which will be replaced by a definition of a primary topic identifier) and then use Obsidian's Replace function to replace that text with the primary topic I want to mention in a current note.

Then there will be additional nonsense text strings  like "xxtp1", "xxtp2", etc. for the subtopic and the subsubtopic and so on.

I'm not sure how Google's Blogger will handle a paste of my current under-development Template (in MarkDown format), but here it goes, fingers crossed.

---
alias: Sorted_List_of_Best_re_Topic_xxtp0
topic: "xxtp0"
sub_topic: "xxtp1"
sub-2_topic: "xxtp2"
---

<% tp.date.now(format = "YYYY") + "~m" + tp.date.now(format = "MM") + "~d" + tp.date.now(format = "DD") + "(a)    " + tp.file.title %>

*Use Find and Replace to substitute in values for* XXtpN

##(H1)Best of Info re xxtp0 xxtp1 xxtp2
- Google prompt= top ten re xxtp0 xxtp1 xxtp2
- YouTube prompt= best tutorials  re  xxtp0 xxtp1 xxtp2
- AI prompt=help me re xxtp0 xxtp1 xxtp2
- Reddit prompt= I'm new re xxtp0 xxtp1 xxtp2
- Obsidian Help [General](https://help.obsidian.md)
- Obsidian Help [Core Plug-ins](https://help.obsidian.md/plugins)
- Obsidian Community [Plug-ins](https://help.obsidian.md/community-plugins)
- Reddit Help [General](https://www.reddit.com/r/ObsidianMD)
- Reddit Help [Specific]()

##(H2) Search results sorted

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)  ....

I still haven't learned any Javascript. So the the Templater function codes (tp dots) are copied out of what I saw on some You Tubes. I'm operating out of my league.

Once the xxtp-number strings are replaced with actual descriptors, I'll have a new note with automatically populated query prompts (I hope)

More to Explore
 How to Use a Markdown Assistant in Obsidian AI Tools
Paul Dickson-- Obsidian Beginners Guide (Playlist)
Paul Dickson -- Best Obsidian Plug-ins? (Playlist)


Comments

Popular posts from this blog

Git-ten Up to Speed

True Confessions

Obsidian is Not King of the Hill