Skip to content

FuriouZz/obsidian-pochoir

Repository files navigation

Pochoir

Pochoir is an Obsidian plugin for note templating.

With simplicity in mind, we designed it with minimal configuration and no coding experience.

Most plugin features are provided by some special properties.

Getting Started

Follow the instruction on the webpage.

Example

Create a unique note

The following example do:

  • Create a new note at path Inbox/YYYYMMDDHHmm.md
  • Include date and tags properties
  • Register the template to a ribbon action
---
date: "{{date.today('YYYY-MM-DD')}}"
tags:
- inbox
$.path: "Inbox/{{date.today('YYYYMMDDHHmm')}}"
---

```pochoir-command
id: create-unique-note
title: Create Unique Note
action: create
trigger: ribbon
```

Create a task note

The following example do:

  • Create a form that will be displayed at template execution
  • The value form.due is filled by the form result
  • date, due, complete and tags properties are included to the note
  • Register an alias tsk for a quicker suggestion in the template list
  • Create the note at path References/Tasks/YYYYMMDDHHmm.md
---
date: "{{date.today('YYYY-MM-DD')}}"
due: "{{form.due}}"
complete: false
tags:
- tasks
$.aliases:
- tsk
$.path: "References/Tasks/{{date.today('YYYYMMDDHHmm')}}"
---

```pochoir-form exports=form
due:
  type: date
```

More examples

For more example, we invite you to check the ./demo vault or to read the documentation.

Dependencies

Inspiration