Templater_Templates
Templater_Templates copied to clipboard
My templates for the Templater Obsidian.md plugin.
Christian's Templater Templates
Found a template your like? Make sure you copy the raw file - not what Github renders. Click this button to see the raw file:

Scripts
You will have to define a folder for your userscripts in Templater. Do this in your Templater settings under "Script files folder location". Remember, the scripts are called like this: tp.user.QuickAdd(tp, choices);, where QuickAdd is the case-sensitive name of thie file. So, if you change the file name, change it in the markdown template as well.
Installation of Scripts
- Grab both the
.mdand.jsfile. Make sure it is the raw markdown file. - Make sure you've set a file path to "Script files folder location" as well as a "Template folder location" in your Templater settings.
- Add the
.mdfile ot the folder you've set as your "Template folder location". - Add the
.jsfile ot the folder you've set as your "Script files folder location".
IMPORTANT: If you are inserting a template that has more than text (templater commands, etc), then you need to enable Trigger Templater on file creation.
https://user-images.githubusercontent.com/29108628/119812018-fa3da980-bee7-11eb-856a-02cd034055fc.mp4
QuickAdd v2
Please use the QuickAdd plugin instead.
https://github.com/chhoumann/Templater_Templates/tree/master/readwise
Insert anything from your Readwise account. You will need your Readwise token - which you can get here. It should be able to fetch anything from any time.
To get the main menu, use the readwise.md template. If you want to have a quote fetched from your "supplementals", you can use readwisedaily.md. I use that one in my daily note to show me a quote from one of the books I've marked as "supplemental".
Main menu

Books

Book selected

Write one highlight (select highlight)

Books (dataview)
This is a dataview query.

Templates
Simple markdown templates that augment workflow.
Installation
- Make sure you've set a path to "Template folder location" in your Templater settings.
- Add the
.mdfile ot the folder you've set as your "Template folder location". Make sure this is the raw markdown file. See instructions at the top of the page.
https://user-images.githubusercontent.com/29108628/119813486-a0d67a00-bee9-11eb-9e5b-7bed3f9eccee.mp4
https://github.com/chhoumann/Templater_Templates/blob/master/code.md
Insert a codebox with the language specifed. Has two predefined languages.

Example:
```CSharp
```
https://github.com/chhoumann/Templater_Templates/blob/master/latex_colors.md
Insert a LaTeX color with any predefined color.

Example:
\color{black}
https://github.com/chhoumann/Templater_Templates/blob/master/latex_environment.md
Insert a LaTeX environment (without $$$$ - I assume this is already done).

Example:
$$
\begin{gather}
// cursor will be set here
\end{gather}
$$
https://github.com/chhoumann/Templater_Templates/blob/master/dataview/copy_links_in_query.md
This allows you to copy links to files found in a Dataviewjs query. You can customize the format however you want.
DEMO (and my use case):
