File notes

Some things worth keeping about a file are not tags: where it came from, its licence, where you used it. Each file can carry a free-form note for them, written in Markdown in its detail view.
- Click Add a note under the tags and start writing. The toolbar above the note adds headings, bold, italic, strikethrough, inline code, bulleted and numbered lists, checklists, quotes and links, and Markdown typed by hand works as well. A link opens in your browser.
- The note saves as you type; there is no save button, and the label beside Note says when it is saved. Press Esc to finish editing (the detail view stays open), and Edit to change it later.
- A long note is folded; Show all opens the rest. A note holds up to 10,000 characters.
- Like tags, a note sticks to the file's content, so it follows the file when you rename or move it.
Which Markdown a note keeps, and what it drops (such as tables and images), is listed in Note Markdown.

If your notes follow the same shape, write it once as the note template in Settings → Library → Note template. Add a note then starts each new note from the template, with the cursor on its first empty line. A template left untouched is not a note: close it without a change and nothing is saved. Changing the template does not change notes already written.
To find files by their note, search for note: followed by text in it (note:pexels), or for has:note to list every file that has one; see Search directives.