A lightweight Markdown notepad for Windows: tabs, a live preview, and nothing you type is ever lost.
English · 中文
Jotter sits between Notepad and a full code editor. Notepad has no Markdown and few comforts. Opening VS Code for a two-line note is overkill. Jotter opens fast and keeps every note in a tab. It renders Markdown next to what you type, and it never asks you to save before you close it. It installs per user in about 4 MB.
The interface text is in Simplified Chinese.
- 📑 Tabs and windows: drag tabs to reorder,
Ctrl+Shift+Nfor another window. Opening a file while Jotter runs adds a tab instead of a second app. - 👀 Live preview: Markdown on the left, rendered on the right, scrolling together. Task lists, tables, code highlighting and local images.
- 💾 Nothing is lost: close the last window with unsaved text and it is there next time, even after a crash. Closing any other window asks first.
- 🔤 Encodings kept: UTF-8, UTF-8 BOM, UTF-16 and GBK files open correctly and are saved back the way they came, CRLF or LF. Change either from the status bar.
- 🔄 Knows when files change: a file edited elsewhere reloads by itself. If you also have unsaved edits, Jotter asks which version to keep.
- ⌨️ Editor keys you already know: multi-cursor, find and replace, move lines,
Ctrl+Dto select the next match,Ctrl+B/Ctrl+I/Ctrl+Kfor Markdown. - 🎨 Easy on the eyes: VS Code's Dark Modern colours in rounded, Liquid Glass-style chrome, with a compact 14 px editor.
Requires Windows 11 (Windows 10 should work with the WebView2 Runtime), the .NET 10 SDK and Node.js.
git clone https://github.com/shaojunying/jotter.git
cd jotter
pwsh -File .\install.ps1This builds Jotter and installs it for the current user, no admin needed:
- the app goes to
%LOCALAPPDATA%\Programs\Jotter, with a Jotter entry in the Start menu. .md,.markdownand.txtfiles get Open with › Jotter. Your default app is left alone.- sessions, settings and logs live in
%LOCALAPPDATA%\Jotter.
Run the same command again to update, or pwsh -File .\install.ps1 -Uninstall to remove it (your notes and sessions stay).
| Keys | Action | Keys | Action |
|---|---|---|---|
Ctrl+N |
New tab | Ctrl+F / Ctrl+H |
Find / replace |
Ctrl+Shift+N |
New window | Ctrl+D |
Select next match |
Ctrl+O |
Open | Alt+↑ / Alt+↓ |
Move line |
Ctrl+S / Ctrl+Shift+S |
Save / save as | Ctrl+B / Ctrl+I / Ctrl+K |
Bold / italic / link |
Ctrl+W |
Close tab | Ctrl+\ |
Toggle preview |
Ctrl+Shift+T |
Reopen closed tab | Alt+Z |
Word wrap |
Ctrl+Tab, Ctrl+1…9 |
Switch tab | Ctrl+= / Ctrl+- / Ctrl+0 |
Text size |
Drop files onto the window to open them.
src/Jotter/ WPF host: windows, file I/O and encodings, sessions, single instance
web/ the editor UI: CodeMirror 6 + markdown-it + highlight.js, bundled by esbuild
tools/ icon, README images, and scripts that drive the app for testing
Each window is a WPF window that hosts a WebView2 page. The page talks to the host over a small JSON message bridge. The host shows the open and save dialogs, reads and writes files, and checks for outside changes. It also keeps one session file per window with the unsaved text. The page never touches the disk itself. The preview renders Markdown with raw HTML turned off.
cd web; npm install; node build.mjs # bundle the UI into src/Jotter/wwwroot
dotnet build ..\src\Jotter # build the host- UI only: serve
src/Jotter/wwwrootwith any local web server and open it in a browser. Without the host, a built-in mock stands in for the file system. - End-to-end:
tools\run-test-instance.ps1starts the debug build with its own data folder and a DevTools port. Drive it withnode tools\cdp.mjs 9333 eval|type|key|shot .... Usetools\win.ps1to close or focus its windows. - README images: take raw shots with
cdp.mjs shot, thenpython tools\make-readme-images.py <raw-dir>.




