GleaBetaUser Guide

Journal and notes

Notes and links

Notes are pages you keep: a topic, a project, a person, a reading list. Link them to each other with [[double brackets]], and every note shows what links back to it.

A note, with its linked references below.

Create a note

  • Press ⌥⌘N. A new note opens with its title ready to type; press Return to start writing.
  • Or type a name in the omnibox (⌘K) and choose Create Note, or press ⇧⌘↩.
  • Or click + in All Notes.
  • Or link to a note that doesn’t exist yet, and click the link: Glea creates it.

A note’s title is its file name: Reading list is notes/Reading list.md. A new note you leave without writing in isn’t kept.

Type [[ anywhere. A menu lists your notes as you type their name; choose one with the arrow keys and Return, or keep typing a new name and close the brackets.

Finished [[The Left Hand of Darkness]], next on my [[Reading list]].

Links show as clickable text. Click one to open the note.

  • [[Note#Heading]] opens a note at a heading. After [[Note#, the menu lists that note’s headings.
  • [[Note#^block]] opens it at a paragraph or list item. After #^, the menu lists its blocks; choosing one that has no id gives it one.
  • [[#Heading]] links to a heading in the same note.
  • [[Note|text]] shows text in place of the note’s name.

Peek at a page

Click a web link in a note or the journal: the page opens in a card over your notes, without a tab, so you can read it and go back to writing. Above the card are the page’s title and address, and:

  • Open as Tab (⌘↩) moves the page to the tab bar as it is, where you were in it included.
  • Collect Page (⌘S) saves it to a note. Point and shoot works in the card too, and what you collect offers the note you came from first.
  • Copy Link.
  • Close, or press Esc or ⌘W, or click outside the card.

⌘-click a web link to open it in a background tab instead.

A note beside the page

To write while you read, choose View ▸ Show Note Beside Page (⇧⌘D) on the web: a note opens to the right of the page, ready to type in. The first time on a tab, it’s the note you last edited that has the page’s address in it, or today’s journal.

  • Click the note’s title above it to switch to another note, or to Create Note named after the page, starting with a link to it.
  • Web links in the note open in the page beside it. ⌘-click opens one in a background tab, with the same note beside it. Links to other notes open in the note’s place.
  • Drag the note’s left edge to make it wider or narrower. Glea remembers its width.
  • Each tab keeps its own note. Press ⇧⌘D again or click × to hide it: it comes back as it was.

Link previews

Rest the pointer on a web link: after a moment, a card shows the page’s picture, site, title and description. Once one has shown, the next link’s comes quicker. Glea reads the page’s details without its cookies, so pointing at a link signs you in nowhere.

In Glea ▸ Settings ▸ Notes, turn off Preview links in a peek to open web links in a tab, or Show link previews to stop the cards. To open your notes’ links in another browser, turn on Open links in another browser there and pick the browser. Links in the pages you browse in Glea still open in its tabs.

Below every note, Linked references, with their count, lists the notes and journal days that link to it, each with the line the link is in. Click a source’s name to go there.

Unlinked references

Under the backlinks, a folded section lists places where the note’s name appears as plain text, without a link: whole words only, not inside code or other links. Unfold it, then:

  • Link turns one mention into a [[link]].
  • Link All does every mention in that note at once.

Rename a note

Click the note’s title, type the new name and press Return (Esc puts the old one back). Glea renames the file and updates every [[link]] to it, in all your notes and journal days.

Tags

Write #tag anywhere in a note, or #nested/tag for a tag inside another. Typing # and a letter offers the tags you’ve already used.

Tags are links: click one to list every note that has it. Searching #tag in All Notes does the same. Tags in a note’s frontmatter count too.

All Notes

Press ⇧⌘H, or choose All Notes in the top bar in notes mode, for the list of your notes. The search field at its top filters them as you type.

A blue dot by a note means it changed while it wasn’t open: another app edited it, or something you collected went into it. Hover the note to see its checkbox instead; open it and the dot goes.

Sort

Click the sort button, between search and +, to order your notes by Date Edited, Date Created, Title or Length, newest, A to Z or longest first, or the other way round. The date or word count on the right of each note follows what you sort by.

  • Sort Groups orders the groups by name, by their last edited note, or by how many notes they have. Ungrouped stays last.
  • Show Journal Notes adds your journal days to the list, in a Journal section of their own.

Glea remembers your choice.

Groups

Groups keep related notes together in the list. Each group is a folder inside notes/, so they look the same in Finder.

  • Make a group by dragging one note onto another, then name it. Onto a note already in a group, hold a moment: the highlight narrows to that note, and dropping makes a new group with it.
  • Move a note by dragging it into a group, or out of one; or choose Move to Group from the note’s ⋮ menu. Near the top or bottom of the list, it scrolls.
  • Collapse a group by clicking its name or the chevron by it, and jump to one from the table of contents in the margin. As you scroll, a group’s name stays at the top of the list while its notes go by.
  • Take a journal day out of the journal by dragging it, with Show Journal Notes on, into a group or onto a note: it becomes a note named after its date, and links to the day follow it.
  • Rename or delete a group by right-clicking its name. Deleting a group keeps its notes; they move out of it.

Delete notes

  • In a note, press ⌥⌘⌫ or click the trash button by its title.
  • In All Notes, tick several notes’ checkboxes and click the trash button that appears; or choose Move to Trash… from one note’s ⋮ menu.

Glea asks first, then moves the files to the macOS Trash, so you can put them back from there.