Habit Labs133 downloadsSend notes directly to messages or email in one click
Share Obsidian notes through the native OS share sheet — as Markdown or PDF.
.md file to the macOS share sheet (Messages, Mail, AirDrop, etc.).Share note).| Platform | Markdown | |
|---|---|---|
| macOS | ✅ | ✅ |
| iOS | ✅ | — |
| Windows / Linux / Android | — | — |
The desktop share sheet uses Electron's ShareMenu, which is a macOS-only API, so the plugin is intentionally inactive on Windows and Linux.
printToPDF — there are no third-party libraries bundled.0600) so the share target (Messages, AirDrop, …) can read them. They are not deleted immediately — the share target may still be reading the file after the sheet closes — but any Sharetron temp files older than one hour are cleaned up the next time the plugin loads.Obsidian's safety scorecard flags this plugin for direct filesystem access. That access exists for exactly one reason: the macOS share sheet needs a real file on disk, so the generated PDF is written to the OS temporary directory (writing it inside your vault would sync temp files to all your devices). The plugin writes only its own sharetron-* temp files there, and deletes only those. Nothing else on your system is read or written.
Release assets are built and published by GitHub Actions with artifact attestations. You can cryptographically verify that any release asset was built from this repository's source:
gh attestation verify main.js -R Habit-Labs/Sharetron
Copy main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/sharetron/, then enable Sharetron in Settings → Community plugins.
npm install
npm run dev # watch build
npm run build # type-check + production build