Open schroederc opened 6 months ago
I'd like to use extractSnippetAroundIndex in some custom templates. Potentially with an extra argument that caps the length of the rendered snippet.
extractSnippetAroundIndex
Example usage:
template: | {{#if .}} # Quick Notes {{#each .}} * [[{{name}}]]: {{extractSnippetAroundIndex(makeIndex(name, 0))}} {{/each}} {{/if}} query: | page where name =~ /^Inbox\/{{journalDate(@page.name)}} /
I'd like to use
extractSnippetAroundIndex
in some custom templates. Potentially with an extra argument that caps the length of the rendered snippet.Example usage: