Could the note object be provided to template substitutions methods #186
FirelightFlagboy
started this conversation in
Ideas
Replies: 0 comments
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.
-
Currently
templates.substitutions
use a function as value that does not take any parameters.That prevent to create function whose output depend on the note metadata (like a value generated from the note title)
Would it be possible for the function to take the
note
object ?References:
obsidian.nvim/lua/obsidian/templates.lua
Line 49 in 96ee170
obsidian.nvim/lua/obsidian/templates.lua
Line 86 in 96ee170
Beta Was this translation helpful? Give feedback.
All reactions