Posts by matti@social.lol
(DIR) Post #AYHUNZb4MLa59yF42C by matti@social.lol
2023-08-01T08:24:34Z
0 likes, 0 repeats
@anders Have you tried templater? https://silentvoid13.github.io/Templater/ You can for sure at least reuse scripts between your #obsidian templates with that one.
(DIR) Post #AYHVFhow04kSIoXWZk by matti@social.lol
2023-08-01T08:34:25Z
0 likes, 0 repeats
@anders You could totally do that with a script, that only returns that string:function getDataViewQuery() { const str = `\`\`\`dataviewLISTFROM #poemsWHERE author = "Edgar Allan Poe"\`\`\` `; return str;}module.exports = getDataViewQuery;And then you can just use it in templater template:<% tp.user. getDataViewQuery() %>
(DIR) Post #AYJLuImdNjkDIa6QZE by matti@social.lol
2023-08-02T04:36:35Z
0 likes, 0 repeats
@dcbuchan @anders No worries, I already gave an example in my second reply. 👍
(DIR) Post #AYJSPcZSShKfN2FzjU by matti@social.lol
2023-08-02T07:12:01Z
0 likes, 0 repeats
@anders @dcbuchan I actually would be curious, too. 😅