Skip to content
Emm documentation

Notes

Notes are your Markdown files, opened and edited in Emm.

Open and create notes

With Emm focused, press Command+N to create a new Note in the selected Notes folder, or Command+O to open an existing Markdown file, including one outside the current Notes folder. Pending edits save before switching; cancelling leaves the current window and document unchanged.

On a Mac with Emm installed and the emm command available, open an existing .md file from Terminal:

emm ~/notes/Plan.md
emm "./notes/Plan with spaces.md"

Replace the example with your file's path. Relative paths start in Terminal's current folder. Quote paths containing spaces; use emm -- -Plan.md for a filename beginning with a dash. The command asks Emm to open the file in Notes, using the same handling of pending edits as opening it from Finder. It needs no issue workspace and does not create missing files. This shortcut requires the macOS app.

Choose your Notes folder, new-note destination and daily-note destination in Emm → Settings → Notes. Each destination is one folder; missing creation folders are created on use.

When creating, renaming or moving a note, Emm refuses a name that differs from another entry in that folder only by case or an equivalent Unicode spelling. For example, you cannot add A.md beside a.md; the notice names the existing file. Identical names in different folders are allowed, and you can change the capitalization of a single local file.

Another editor may create both files on a case-sensitive disk. Each time you open either in Emm, it opens normally and a warning names the conflicting entries. Rename one to a distinct name, such as Meeting archive.md, so both files can be represented on other devices. Shared Notes continue to require unambiguous paths; use a distinct name rather than a case-only rename in a shared folder.

Documents pinned beneath a team disappear from that sidebar when their files are deleted, including outside Emm. The sidebar checks in the background, so allow a moment for it to refresh. Undoing the deletion or restoring the file to the same path brings its pin back. To remove a pin while keeping the file, hover over its row and click ×.

Include repository documents

In Settings → Notes → Add to index, choose a repository folder, or type its full path and click Add. Markdown files in that folder and its children appear in search and [[link]] completion. Hidden folders and symlinks are skipped. Remove takes a folder out of the index without deleting anything.

Your Notes folder and its children are already included. Adding them again shows an explanation and keeps the path you entered. You can add a parent or sibling folder; adding a parent replaces any extra index roots it covers.

New notes still use your new-note destination. Adding an index folder does not enroll it in Notes sync: keep repository documents outside your shared Notes folder and use Git to deliver them. Configure the local repository path on each computer. Files already inside an enrolled Notes folder still sync; indexing is not an exclusion rule.

These settings belong to the selected Notes folder on this computer. Changing the list does not switch your workspace or move files. An already-open document stays open after its folder is removed.

Word count

With a Notes window focused, choose View → Show Word Count to show the count in the lower-right footer; Hide Word Count turns it off. It is off by default, and your choice applies to Notes on this computer across workspaces. It never changes the Markdown file.

A nonempty selection in the document body shows the selected count; otherwise the footer counts the whole Markdown source, including unsaved edits. Words are whitespace-separated tokens containing a letter or number. Standalone Markdown markers and punctuation do not count; formatting, links and code are not stripped. A selected word fragment counts once. The filename/title field is excluded. Agents can inspect the setting with emm settings get notes_word_count --help.

Counting runs in the background. After an edit or selection change, the footer may briefly show Counting… until the current count is ready.

Tables

Click a table cell to edit it. Arrow keys move through its text, then into the neighboring cell at its edge. Up from the top row or Down from the bottom row leaves the table; you can also use these keys to enter a table from the surrounding text. If the table begins or ends the document, leaving it offers an empty row where you can type. Tab moves to the next cell and Shift+Tab to the previous one. Shift+Enter inserts a line break inside a cell.

Hover over a row, the top of a column, or an outside edge to reveal its handle or + control. Only one control appears at a time. Drag a handle to reorder; click + to append a row or column. These interactions also work in issue descriptions.

Pictures

Paste a picture with Command+V in a note or an issue description. Emm writes it to the attachments/ folder and embeds it on a line of its own, drawn as the picture. Hover over a picture and drag its bottom-right corner to change its displayed size.

The picture stays drawn, and its link stays out of sight, while you move through the text. The arrow keys step past its line, and a click on the picture puts the caret on the line after it. Under the last picture in a note the caret lands on an empty row below it, where you can type; Backspace there removes nothing. When a picture begins the note, press Up or Left from the line under it to get an empty row above the picture. Selecting across a picture keeps it drawn and tints it; copying or deleting the selection includes the picture's link.

To edit a picture's link or width by hand, choose View → Show Image Source in either Emm window. The line then opens as Markdown whenever the caret reaches it, and the picture is drawn again when the caret leaves. Hide Image Source returns to the default; chosen while the caret is on a picture's Markdown, it closes that line at once and puts the caret under the picture. A link whose file is missing shows a notice instead of a picture and opens as Markdown either way. Your choice applies to Notes and issue descriptions on this computer across workspaces. Agents can inspect the setting with emm settings get show_image_source --help.

Keep several notes open

With a Notes window focused, choose File → Duplicate Notes Window (Option+Command+N), then open another file in the new window. Each window keeps its own back/forward history. Closing one leaves the others open. Right-click a Markdown file link in Notes or an issue to choose Open in New Window or Copy Path.

Write plain Markdown. Use [[Note name]] to link to a note in the selected Notes folder or an added index folder. For other files, use standard Markdown links such as [Report](repo/docs/My%20Report.md) or [Report](<repo/docs/My Report.md>), and resolve relative links from the open note’s folder. In issue descriptions and chat, relative links instead start at the workspace folder containing emm.db. Raw paths in prose or backticks stay plain text.

Sharing Notes

Sharing Notes is explicit and separate from saving. Enroll a Markdown folder so its files are available to workspace members; only copies you have configured download or upload. See Sharing for the setup commands and what happens next.

Supported images in the configured workspace Notes folder can sync alongside Markdown. New workspace Notes and issue image pastes share its attachments/ folder. Notes outside that folder, and their images, stay personal and local. See Sharing for enrollment and limits.