Skip to content

Use Links

Identifier useLinks
Allows Multiple false

Description

The useLinks argument lets you change how certain input fields handle links.

There are three possible values for this argument:

  • true - Will use links of the form [[someFolder/Note.md|Note]].
  • partial - Will use links of the form [[Note]].
  • false - Will not use links. The note name will be used instead.

If no value is provided, true will be used.

Values

The input field argument useLinks accepts the following value configurations.

  • useLinks
  • useLinks(value: true | partial | false)

Allowed Input Fields

The input field argument useLinks can be used on the following input fields.

Examples

---
useLinksTrue: "[[someFolder/Note.md|Note]]"
useLinksPartial: "[[Note]]"
useLinksFalse: "Note"
---
```meta-bind
INPUT[suggester(optionQuery("someFolder")):useLinksTrue]
```
```meta-bind
INPUT[suggester(optionQuery("someFolder"), useLinks(partial)):useLinksPartial]
```
```meta-bind
INPUT[suggester(optionQuery("someFolder"), useLinks(false)):useLinksFalse]
```