One-click New Markdown File button for the macOS Finder toolbar.
In the AI-native era, the fastest way to hand context to a model — ChatGPT, Claude, Gemini, an Obsidian vault, or an internal AI Transformation team — is a plain Markdown file. Paste your snippet, save it, drop it in. Done.
But macOS Finder has no built-in shortcut for creating a new file. You have to open an editor, save, navigate to the folder, and so on — a small papercut that adds up across the day.
new-markdown is a single Finder toolbar button that creates a blank .md file in the current folder and immediately enters rename mode, so you can name it and start pasting in seconds.
Built specifically for the workflow of feeding knowledge to LLMs, but useful anywhere you take quick notes.
Five steps. The two drag-and-drops in bold are the ones people miss the first time.
-
Get the app — Download
New-Markdown-vX.Y.Z.zipfrom the latest Release and unzip it. (Or build from source — see Install below.) -
🖱️ Drag
New Markdown.appinto~/Applications/(or any folder you keep apps in). -
Open any Finder window.
-
🖱️ Hold ⌘ (Command) and drag
New Markdown.appfrom~/Applications/onto the Finder toolbar. Release. The icon is now permanent across all Finder windows. -
Click the toolbar icon → a new
new-markdown-file.mdis created in the current folder, instantly in rename mode.
To remove later: hold ⌘ and drag the icon off the toolbar.
- Click the toolbar icon → a blank
new-markdown-file.mdis created in the front Finder window's folder (falls back to Desktop if no window is open). - Finder immediately selects the file in rename mode, so you can type the name you want.
- If
new-markdown-file.mdalready exists, the file is auto-incremented:new-markdown-file 2.md,new-markdown-file 3.md, ... (matches Finder's native naming convention). - No dock icon, no menu bar item, no background process — the app launches, creates the file, and exits.
Grab the latest .app from the Releases page. Unzip and follow steps 2–5 in Quick Start.
git clone https://github.com/Squarelight-ai/new-markdown.git
cd new-markdown
./scripts/build.shThis produces dist/New Markdown.app. Continue with steps 2–5 in Quick Start.
On the first click, macOS will prompt for two permissions:
| Prompt | Purpose | Required? |
|---|---|---|
| Automation → Finder | Read the front window's folder path | Yes |
| Accessibility → System Events | Press Return to enter rename mode | Optional — without it, the file is still created and selected; you just won't auto-enter rename mode |
Both can be revoked or re-granted at: System Settings → Privacy & Security → Automation / Accessibility.
src/new-markdown.applescript— the entire behavior in ~30 lines of AppleScript.scripts/make_icon.swift— generates the multi-resolution icon set procedurally with Cocoa drawing primitives (no external assets).scripts/build.sh— compiles the script to a.appbundle, applies the icon, signs ad-hoc, and registers with Launch Services.
The compiled .app is a standard AppleScript bundle. You can inspect everything: right-click → Show Package Contents.
To change the default filename, edit src/new-markdown.applescript:
set baseName to "new-markdown-file" -- change this
set ext to "md" -- and/or thisThen rebuild with ./scripts/build.sh.
- macOS 13 (Ventura) and newer — tested on macOS 26 (Tahoe).
- Apple Silicon and Intel both supported (the
.appis architecture-independent — it's an AppleScript bundle).
Automator/Shortcuts solutions exist for "create new file here," but they typically appear as right-click Service menu items or keyboard shortcuts — not as a dedicated Finder toolbar button. new-markdown is a native-feeling toolbar button you click with a mouse, matching the same affordance as Finder's built-in "New Folder" toolbar icon. It also enters rename mode automatically, which most Service-menu workflows skip.
⌘⇧N only creates folders, not files. macOS has no native shortcut or toolbar button for creating an empty file — that's exactly the gap new-markdown fills.
Yes. Edit src/new-markdown.applescript, change set ext to "md" to your preferred extension, and rebuild with ./scripts/build.sh. You can also change the default filename in the same file.
Yes. Tested on macOS 26 (Tahoe). The toolchain (osacompile, swift, iconutil, codesign) is preinstalled on macOS 13+ so no Xcode is required.
No. The .app launches when clicked, creates the file (and selects it for rename), then exits. Zero background process, zero menu bar item, zero memory footprint between uses.
Not directly — but you can drag the .app into the sidebar's Favorites if you prefer. Clicking it from the sidebar still creates the file in the front Finder window's folder.
The release is ad-hoc signed (no Apple Developer certificate). The first time you run an unsigned .app, macOS Gatekeeper may ask you to confirm. Right-click → Open → Open to bypass once; it's trusted thereafter.
Apache License 2.0 — see LICENSE.
Copyright © 2026 Squarelight Inc.
