Knap.md
LogicFiltersVariablesAPIGitHub ↗

Guide

VariablesLogicFilters

Reference

API

Project

GitHub ↗npm ↗

wikilink

Create an Obsidian wikilink.

Filters/wikilink

Syntax

{{ value | wikilink }}{{ value | wikilink:"Alias" }}

Example

01

Basic usage

InputTS
1{2  "page": "Project Atlas"3}
TemplateKNAP
1{{ page | wikilink:"Atlas" }}
OutputKNAP
1[[Project Atlas|Atlas]]

Behavior

  • The optional parameter sets an alias for string and array inputs.

Related filters

linkCreate Markdown links from a URL, array, or object.
Previous← tableNextyaml →
Knap is open source under the MIT license.View source ↗

On this page

SyntaxExamplesBehaviorRelated filters
wikilink filter — Knap