Markdown, formatted as you type.
Headings, lists, tables and links are formatted as you write them. The Markdown marks show only around the cursor, so the page reads clean and the file stays plain text.
A native Markdown notes app for the Mac. Your notes are plain files in a folder you choose.
Headings, lists, tables and links are formatted as you write them. The Markdown marks show only around the cursor, so the page reads clean and the file stays plain text.
⇧⌘D opens today's note, named by its date, in your Daily Notes folder. The Go menu steps to the day before or after. The folder, date format and template work as in Obsidian's daily notes, so a journal you already keep carries on.
Write - [ ] in any note, or press ⌘L. Add a tag like #home to file it. To-dos, at ⇧⌘R, gathers the open ones from every note by tag, each with the note it came from. Tick one off there and Leaf ticks it in its note.
⌘K runs any command by its name. ⌘P goes to any file, the ones you opened last first.
The leaf command opens notes and folders in Leaf and returns at once. A note that doesn't exist yet is made for you.
# bring Leaf to the front
leaf
# open a note, made if missing
leaf notes/today.md
# open each note in a window of its own
leaf -n plan.md ideas.md
# add a folder to the sidebar
leaf ~/notes
Open a note in a window of its own with ⌥⌘N and keep it beside your work. Type in either window. It is one note.
⇧⌘B shows the headings of a note at the side. Click one to go there.
Sketch right in a note. Leaf saves the drawing as a picture beside the note, so any Markdown app shows it.
Drop in pictures, PDFs or any file, or press ⇧⌘A. They go in a hidden .assets folder next to the note.
.txt files open as plain text, with no Markdown styling, as in any text editor.
Leaf keeps copies of a note as you write, for a year. Go back to any of them from File, Revert To.
Leaf has no database and no account. Each note is a Markdown file in a folder you choose. Open it in any editor, back it up with Time Machine, or keep it in git.
Keep the folder in iCloud Drive and Apple syncs it to your other Macs, and to the Files app on iPhone and iPad. Or keep it on this Mac only, or open a folder you already have.
Leaf is a Mac app written in Swift with AppKit and SwiftUI. There is no web view inside it and no server behind it. It is made to stay open all day, and every change is measured for launch time and memory before it ships.
Leaf isn't notarized by Apple yet, so macOS blocks it until you allow it once in System Settings. The install guide shows the steps.
Leaf has no sync service of its own. Keep your notes in iCloud Drive and Apple syncs them like any other file there.
Not yet. Leaf is for the Mac. Notes in iCloud Drive are plain files, so on iPhone you can read and edit them in the Files app or any Markdown editor.
Yes. Choose File, Open Folder, and pick it. Leaf reads and writes the Markdown files in place, and its daily notes take the same folder, date format and template.
Nothing. It has no accounts, no analytics and no server. The privacy page lists what it keeps on your Mac.
Leaf is a fork of Notebook by Lukas Kaibel, trimmed for speed and a smaller window. Like Notebook, it is licensed under the GNU GPL version 3.