ZenNotes 2.97.0 puts dates in the slash menu: /today writes today's date and /date opens a calendar for any other day. On Windows, Settings > CLI now installs zn, so the command line works there as it does on macOS and Linux. And the insert and date menus no longer open inside code or math.
Released from through on .
Features
- Insert a date from the slash menu (#1140). Putting today's date in a note meant typing
@todayand taking it from the date menu, and another day meant typing it out. Now:/todayinserts today's date. Its row in the menu shows the date it will write./dateopens the calendar the Tasks view uses for due dates. Arrows move a day or a week (hjklin Vim mode), PageUp and PageDown a month, and Enter inserts the day where/datestood. Escape leaves the line as if/datewas never typed.- The command palette has Insert Today's Date and Insert Date…, and in Vim mode
:todayputs today after the cursor, likep, while:dateasks the calendar first. - With a table cell selected, both palette commands write into that cell, at its cursor, and the cell keeps the keyboard. Commands that only make sense in the note text, such as Insert Template or Reflow Paragraph, say so and leave the note alone.
- From the pinned reference pane, the palette's date commands write into that pane, not the open note.
- Every one of them writes a plain date like
2026-12-03, the same as@today, task due dates and{{date}}in templates, so it reads the same in every vault. The template editor and Quick Capture leave them out: a template wants{{date}}.
- zn on Windows (#1141, reported on Discord). Windows had the MCP server but no command line: Settings > CLI said zn was for macOS and Linux only, and the agent skill for
znhad nothing to run. Now:- Settings > CLI installs
znon Windows, x64 and Arm. It putszn.exein a folder of its own and adds that folder to your user PATH, with no administrator prompt, so a new PowerShell or Command Prompt finds it. - ZenNotes keeps it up to date, as on macOS and Linux, and every release is checked against its signature before it runs. A
zn.exea terminal is still running is set aside and replaced once nothing uses it. - A
zninstalled this way opens the app's vault by default, andzn updatepoints to Settings > CLI. - Uninstall removes the folder from PATH and leaves the rest of PATH exactly as it was.
- The desktop bundles zn 0.21.0, the first release with Windows builds.
- Settings > CLI installs
- Copy command for an agent's own plugin. Settings > Connectors shows, beside Claude Code, Codex, Gemini CLI and Hermes Agent, the terminal commands that install the ZenNotes plugin from the public ZenNotes/agent-skills repository, with a Copy command button. They copy one per line, so a paste runs them in turn in any shell. The line shows only while ZenNotes has not installed the skills in that agent's folder, since both at once would give the agent every skill twice.
Fixes
- The insert and date menus stay out of code and math (#1143). Typing
/inside a code block opened the insert menu, so in```jsconst d = 1 /toffered Task, and Enter took it instead of starting a new line. A Python decorator or a Java annotation opened the@menus the same way. Now/and@open nothing in a fenced or indented code block, in inline code or in a$$math block, and/opens nothing in the frontmatter, where it is part of a value. Text after the code, and@dates in the frontmatter, work as before. - A divider under a line of text no longer turns it into a heading. Markdown reads
---straight under a line as an underline that makes it a heading, so choosing Divider from the slash menu on the line below some text turned that text into a heading. The divider now goes in after a blank line.
Command line
- The desktop bundles zn 0.21.0 (ZenNotes/tui#70, ZenNotes/tui#71): the Windows builds the desktop installs, a
zn.exethat knows when the app placed it, andzn mcpanswering every request piped into it, where it used to print nothing and exit once its input ended.
Phones
- bring this core: `/today` and `/date` in the slash menu, dates from the command palette into a table cell, and the insert and date menus kept out of code and math.
For contributors
docs/ecosystem/is a handbook for every ZenNotes repository and tool: what each one is and who consumes what, how to clone and build them all, every workflow and artifact of this repository, the server, zn, the phone apps, Cloud, the website, the web clipper, the agent skills plugin,zn-cloudand the packaging channels.- Windows zn:
apps/desktop/terminal-release.jsontakeswin32-x64andwin32-arm64entries, and afterPack stageszn.exefrom them, reading the release zip with thetar.exein System32 (Git's GNU tar cannot read zip). A pin without Windows entries leaves a Windows package without zn instead of failing CI. The active version is acurrent.jsonpointer, not acurrentsymlink, andzn.desktop.jsonbeside the copy inuserData\cli\binis both zn's hint and the app's ownership mark. The user PATH is edited withreg.exeso itsREG_EXPAND_SZtype survives. lib/cm-inside-code.tsholdsisInsideCode(the syntax tree at the trigger) andisInsideBlockMath, which follows the renderer's rule for$$: a closed pair, each fence owning its line. The slash menu, the@date menu and the@note picker all ask them.lib/table-cell-commands.tsis where commands meet a focused table cell: the palette records the cell (or the pinned reference pane) as it opens,commandTableCell()andcommandEditorView()say where a command writes, andguardCaretOnlyCommandswraps the commands that have no meaning in a cell.cm-table.tsexportstableCellSpot,insertIntoTableCellandfocusTableCell.promptDate()cancels a calendar that a second one replaces, so nothing waits on it forever.zn-cloudis now published by its workflow as a staged npm version: it reaches users only after a maintainer approves it on npmjs.com, and the job waits on the GitHub environmentnpm.
Demos
- 1140-slash-dates-vim-off.mp4:
/today,/datewith the calendar and Escape, then Insert Today's Date and Insert Date… from the palette. - 1140-slash-dates-vim.mp4: the same in Vim mode, with
:todayand:date. - 1144-table-cell-dates.mp4: Insert Today's Date and Insert Date… from the palette write into the selected table cell, and Reflow Paragraph says it works in the note text.
- 1143-menus-out-of-code.mp4:
/and@open nothing in a code block or a$$block,/dstill picks Divider in text, and the divider leaves the line above as text. - 1141-zn-on-windows.mp4: on Windows 11, Settings > CLI installs zn 0.21.0, a new PowerShell finds it and
zn statusnames the app as its owner,zn updatepoints to Settings, and Uninstall takes it off PATH.
Verification
How to test locally:
- In a note, type
/todayand press Enter: today's date is inserted, like2026-12-03. - Type
/date, press Enter, move with the arrow keys and PageDown, then Enter: that day is inserted where/datestood. Do it again and press Escape in the calendar: the line is as it was before/date. - Open the command palette, run Insert Today's Date, then Insert Date…. In Vim mode, run
:todayand:date. - In a rendered table, select a cell (click it, or
jinto it in Vim mode) and run Insert Today's Date from the palette: the date lands in the cell and the cell keeps the keyboard. Run Insert Template into Current Note…: a notice says it works in the note text, and nothing changes. - Type
```js, Enter, thenconst d = 1 /t: no menu opens, and Enter starts a new line. Type@ton the next line: no menu. Do the same between two$$lines, and type/in the frontmatter: nothing opens. Below the code,/toffers Task. - On a line under some text, type
/dand press Enter: a divider is inserted after a blank line, and the text above stays body text. - On Windows, open Settings > CLI and click Install. Open a new PowerShell and run
zn status --json: the owner isdesktop.zn updatepoints to Settings > CLI. Click Uninstall:znis gone from a new terminal and the rest of PATH is unchanged. - In Settings > Connectors, on the Claude Code row with the skills not installed there, click Copy command and paste it into a terminal: the ZenNotes plugin installs from ZenNotes/agent-skills.