Note Properties (aka Frontmatter)

Note properties are simple "key: value" pairs, such as "Status: Active", which give your notes metadata. This metadata is used across NotePlan in various places.

How to edit Note Properties?
You can use the Note Properties Editor at the top of your notes. In daily notes, the properties are hidden by default. Open the menu top right to "Add Properties".

What is Frontmatter?
Frontmatter is where your note's properties are stored in raw text format. 

These properties are saved directly in the note's text file, enclosed in a special section called frontmatter. When the note is opened, the frontmatter is automatically converted into the property editor. This section must begin with a line containing three dashes (---) at the very start of the note and end with another line of three dashes. Everything between these two lines consists of key-value pairs that define your note's properties.

How are Note Properties used?
NotePlan uses properties for the Notes Views/Table, Card View, Auto-Templates and Meeting Notes. Also, some Plugins are utilizing the Frontmatter. Additionally, you can customize your notes, like assigning an icon or background color.

For example, the Notes Table allows you to group, filter and sort your notes by the Frontmatter keys and values it can find in your notes. Therefore, it's recommended to equip your notes with Frontmatter, if you want to visualize them later in different ways.

Defining the note title as property

NotePlan uses normally the first non-empty line of a note to determine the note's title. If you are defining it in the properties, NotePlan will ignore the title inside the note and use the one in the properties. A title property has the fixed name "title". 

If no title is defined in the properties:

If a title is defined in the properties:

How to add Note Properties with a Template?

Note: This might change in later releases to simplify the process.

Templates can be added to regular notes and also pre-create some default properties, for example for project notes. To achieve this a template will need two types of properties. The regular properties at the top of the template (added by default) and below that a raw frontmatter block that uses two hyphens (--) instead of three.

For example:

Problem: Typing "--" turns to a long dash
If you have "Smart Dashes" (macOS) or "Smart Punctuation" (iOS) enabled and try to type two dashes, the editor will turn them into a long dash.

macOS: Turn this off in the menubar under "Edit" > "Substitutions" > "Smart Dashes".
iOSIn the Settings app (system settings), search for "Keyboards" and turn off "Smart Punctuation"

How to create a new note with a Frontmatter Template?

You can also create a new note directly with your Template to add the Frontmatter right away. Hit CMD+J (or the magnifier glass icon bottom right on iOS), then type "/new" and select "/Templating: Create new note using template"