Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is also a template for different types of notes, which is selected when creating a note in a specific folder or creating it using QuickAdd.:

For example, when I add a link to the author to a book note and use keyboard shortcuts to create a note page for the author, the following template is used:

```md

---

aliases:

  - <%tp.file.title%>
tags:

- t3/books

- people

- t3/author

---

%%

[[<%tp.file.creation_date("YYYY-MM-DD")%>]]

%%

### Works

```base

views:

  - type: table
name: Table

    filters:

      and:

        - file.hasLink("<% tp.file.find_tfile(tp.file.folder(true) + "/" + tp.file.title + ".md").path %>")
- file.hasTag("t3/books") sort:

      - property: file.name

        direction: ASC
```

Tags in metadata do not need the # symbol, although you can use it if you enclose the entire tag in quotation marks.

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: