Github: daledesilva / obsidian_ink [link]
DETAILS → Integration with Templater and Journals for Auto-Generated Handwriting Fields #117
daily.md (Templater template)
<< [[<% tp.date.now(“YYYY-MM-DD”, -1, tp.file.title, “YYYY-MM-DD”) %>]] ← <% tp.date.now(“YYYY-MM-DD”, 0, tp.file.title, “YYYY-MM-DD”) %> → [[<% tp.date.now(“YYYY-MM-DD”, 1, tp.file.title, “YYYY-MM-DD”) %>]]>>
<% moment(tp.file.title,‘YYYY-MM-DD’).format(“dddd, MMMM DD, YYYY”) %>
EXISTING Handwriting
{
“versionAtEmbed”: “0.3.4”,
“filepath”: “Ink/Writing/2025.2.21 - 11.19am.writing”
}
NEW Handwriting
<% tp.file.cursor(1) %>
<%*
tp.hooks.on_all_templates_executed(() => app.commands.executeCommandById(“ink:create-handwritten-section”));
-%>
END … daily.md
daily template
handwriting
I. At the top it should produce, something like …
<< 2025-02-20 ← 2025-02-21 → [2025-02-22]>>
Friday, February 21, 2025**
II. Followed by an EXISTING handwritten note, that has to be created once in the daily template with …
ctrl-p
Ink: New handwriting section
to create an actual file, e.g.
“filepath”: “Ink/Writing/2025.2.21 - 11.19am.writing”
[i.e. not copy & pasted in, as that wouldn’t produce a .writing file.
III. Next comes a NEW handwriting section that will be different for every day …
NEW Handwriting
<% tp.file.cursor(1) %>
<%*
tp.hooks.on_all_templates_executed(() => app.commands.executeCommandById(“ink:create-handwritten-section”));
-%>
IV. Works on Desktop & Mobile
Plugins:
Templater [Settings: Automatic Jump to cursor]