Tools
CLI Setup
Share markdown documents directly from your terminal with the mkdn CLI.
Installation
No installation required! Use npx to run the CLI:
AI
bash
bash
npx mkdn.pro share your-file.mdOr install globally for faster access:
AI
bash
bash
npm install -g mkdn.pro
mkdn share your-file.mdBasic Usage
Share a File
AI
bash
bash
mkdn share README.mdThis will upload your file and return a shareable URL.
Share from Stdin
Pipe content directly to mkdn:
AI
bash
bash
cat notes.md | mkdn shareSet Expiration
Control how long your document stays active:
AI
bash
bash
1# Expire in 1 hour
2mkdn share file.md --expires 1h
3
4# Expire in 7 days
5mkdn share file.md --expires 7d
6
7# Never expire
8mkdn share file.md --foreverAdvanced Options
Interactive
| Flag | Description |
|---|---|
--expires | Set expiration time (1h, 24h, 7d, 30d) |
--forever | Document never expires |
--theme | Choose theme (natural, sand, graphite, midnight) |
--no-copy | Disable copy button |
--no-download | Disable download option |
--password | Protect with a password |
Examples
Share with Password Protection
AI
bash
bash
mkdn share secret.md --password "mysecret"Share with Custom Theme
AI
bash
bash
mkdn share blog-post.md --theme midnight --foreverShare Multiple Files
AI
bash
bash
mkdn share file1.md file2.md file3.mdSee the full CLI documentation for more options.