Hello,
I would like to use suggester from templater in the way that I can pull the list entries from an existing note instead of writing them inside the suggester-command.
Unfortunately I found nothing to this problem in this forum or in youtube or google.
This is what I tried with an external css-Script but when I insert
<%* tp.user.notice(tp) %>
into properties nothing happens.
async function notice(tp) {
const dv = this.app.plugins.plugins[“dataview”].api
const markdown1 = dv.page(“Liste.MD”).file.lists.text
let value = markdown1
const text = await tp.system.suggester((item) => item, value)
return text
}