Cmd+Shift+C or the toolbar button.
Copy & Export Menu
The Copy & Export menu offers four formats:- Markdown - Raw Markdown source with all formatting
- Plain Text - Stripped formatting for pasting into emails or plain text apps
- HTML - Rendered HTML for pasting into rich text editors
- PDF - Printable PDF via your browser’s print dialog
Copy as Markdown
What It Does
Copies the current note’s raw Markdown source to your clipboard.Example Output
Use Cases
- Paste into another Markdown editor (Obsidian, Typora, VS Code)
- Share notes via Slack/Discord (with Markdown support)
- Archive notes in version control (Git, GitHub)
- Convert to other formats using Pandoc
How to Use
Scratch cleans up non-breaking spaces (
) and HTML entities that TipTap inserts (especially in table cells) before copying.Copy as Plain Text
What It Does
Strips all Markdown formatting and copies plain text only to your clipboard.Example Output
From the same note:What Gets Stripped
- Headings -
#markers removed, text remains - Bold/Italic -
**bold**,*italic*→ plain text - Links -
[text](url)→text(URL discarded) - Wikilinks -
[[Note]]→Note - Images -
→alttext - Code - Backticks removed, code text remains
- Lists - Bullets and numbers removed, items remain
- Tables - Converted to plain text (pipe separators removed)
- Blockquotes -
>prefix removed
Use Cases
- Paste into emails (no formatting clutter)
- Copy to non-Markdown apps (Apple Notes, Evernote)
- Plain text backups (for archival or search)
- Word count tools (formatting doesn’t interfere)
How to Use
Copy as HTML
What It Does
Copies rendered HTML of the current note to your clipboard.Example Output
Use Cases
- Paste into rich text editors (Google Docs, Microsoft Word)
- Embed in websites (WordPress, Notion)
- Email newsletters (formatted content)
- Convert to other formats (HTML → DOCX via Pandoc)
How to Use
HTML export includes TipTap’s editor classes. You may want to clean them up with an HTML sanitizer for production use.
Export as PDF
What It Does
Opens your browser’s print dialog with the note pre-formatted for printing or saving as PDF.Features
- Clean layout - Optimized for print (no sidebar, toolbar, or UI)
- Typography - Uses your editor font settings
- Page breaks - Intelligent breaks for headings
- Filename - Defaults to note title
How to Use
Configure Print Settings
In the print dialog:
- Destination: Save as PDF
- Layout: Portrait
- Margins: Default or Custom
Print Dialog Options
| Setting | Recommendation |
|---|---|
| Destination | Save as PDF (not “Print”) |
| Pages | All (or select range) |
| Layout | Portrait (or Landscape for tables) |
| Margins | Default (1 inch) |
| Background graphics | Off (cleaner output) |
PDF Styling
The PDF uses browser print media queries for clean output:- No UI elements - Sidebar, toolbar, and buttons are hidden
- Optimized typography - Readable line height and font size
- Print-friendly colors - High contrast for black-and-white printing
Limitations
- No custom headers/footers - Use browser print settings to add page numbers
- No watermarks - Add them in post-processing (Adobe Acrobat, Preview)
- Images require network - If images are hosted remotely, they must be accessible during print
Download as Markdown
What It Does
Saves the current note as a standalone.md file to your Downloads folder.
How to Use
Use Cases
- Share individual notes (email attachment, Slack upload)
- Archive snapshots (before major edits)
- Migrate to another app (export all notes as
.mdfiles) - Offline backups (keep local copies outside the notes folder)
Downloaded files are not linked to your notes folder. Edits to the downloaded file don’t affect the original note.
Keyboard Shortcuts
All export options are accessible via keyboard:| Action | Shortcut |
|---|---|
| Open Copy & Export Menu | Cmd+Shift+C |
| Copy as Markdown | (Select from menu) |
| Copy as Plain Text | (Select from menu) |
| Copy as HTML | (Select from menu) |
| Export as PDF | (Select from menu) |
| Download Markdown | (Select from menu) |
Clipboard Integration
Scratch uses Tauri’sclipboard-manager plugin for reliable clipboard access:
Platform-Specific Behavior
- macOS: Uses NSPasteboard API
- Windows: Uses Windows Clipboard API
- Linux: Uses X11 or Wayland clipboard (requires clipboard manager)
Clipboard Formats
| Export Option | Clipboard Format |
|---|---|
| Markdown | text/plain |
| Plain Text | text/plain |
| HTML | text/html (rich text) |
HTML export uses both
text/plain and text/html clipboard formats. Apps that support rich text (Google Docs, Word) use HTML; others fall back to plain text.Advanced: Custom Export Scripts
For custom export workflows, access notes directly from the file system:Example: Export All Notes to PDF
Example: Export to DOCX
Example: Export to HTML (Standalone)
Batch Export
Scratch doesn’t have a built-in “Export All” feature, but you can use Git or file sync:Via Git
Your notes folder is already a backup if you use Git:Via Zip
Create a zip archive of your notes folder:Via Cloud Sync
Move your notes folder to Dropbox, iCloud Drive, or Google Drive for automatic cloud backups.Troubleshooting
”Failed to copy” Error
Cause: Clipboard access denied (Linux). Fix: Install a clipboard manager (xclip, xsel, wl-clipboard).
PDF Export Shows Blank Page
Cause: Images failed to load during print. Fix: Ensure images are local (inassets/ folder) or accessible online.
HTML Paste Loses Formatting
Cause: Target app doesn’t support rich text. Fix: Use “Copy as Markdown” and paste into a Markdown-aware app.Downloaded Markdown File Is Corrupted
Cause: Special characters in filename. Fix: Rename the note with a simpler title before downloading.Best Practices
- Export before major edits - Download a Markdown snapshot as a backup
- Use Markdown for portability - Markdown files work everywhere
- Use HTML for presentation - Google Docs, Notion, WordPress
- Use PDF for archival - Print-friendly, preserves formatting
- Automate with scripts - Use Pandoc for batch conversions
Related Features
- External Editors - Edit notes outside Scratch
- Multi-Device Sync - Use Git to sync notes across devices
- Organizing Notes - File structure and naming conventions