Skip to content

Format syntax: token for the active file's folder #1480

Description

@chhoumann

Captures that target a sibling file of the active note (e.g. <current folder>/Project Tasks.md) currently require a two-step macro: a user script reads app.workspace.getActiveFile()?.parent?.path into a variable, then the Capture step uses {{VALUE:projectFolder}}/Project Tasks.md as its target.

Proposal: a first-class path token for the active file's folder (naming open - e.g. {{CURRENTFOLDERPATH}}), usable in capture targets and file-name formats, so per-project capture works without a script.

Requested in discussion #214; also the generic residual from the dynamic-capture-targets cluster in the discussions triage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions