1
0
silverbullet/website/Library/Core/Widget/Linked Mentions.md
Zef Hemel f30b1d3418
Templates 2.0 (#636)
Templates 2.0 and a whole bunch of other refactoring
2024-01-20 19:16:07 +01:00

465 B

description tags hooks.bottom.where
Adds Linked Mentions to pages template true
# We need to escape handlebars directives here, since we're embedding
# this template into a template (INCEPTION)
template: |
  {{escape "#if ."}}
  # Linked Mentions
  {{escape "#each ."}}
  * [[{{escape "ref"}}]]: `{{escape "snippet"}}`
  {{escape "/each"}}
  {{escape "/if"}}
query: |
  link where toPage = "{{@page.name}}" and page != "{{@page.name}}"