Add ConvertToMarkdown Automator Quick Action
Finder service that converts files to Markdown using pandoc. Supports all pandoc input formats with macOS notifications. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Convert to Markdown — Automator Quick Action
|
||||
|
||||
Converts files to Markdown via pandoc directly from the Finder right-click menu.
|
||||
|
||||
## Requirements
|
||||
|
||||
- macOS 12+
|
||||
- [pandoc](https://pandoc.org/installing.html): `brew install pandoc`
|
||||
|
||||
## Installation
|
||||
|
||||
1. Copy `ConvertToMarkdown.workflow` to `~/Library/Services/`
|
||||
2. Refresh services: `/System/Library/CoreServices/pbs -update`
|
||||
|
||||
Or in one command:
|
||||
|
||||
```bash
|
||||
cp -r ConvertToMarkdown.workflow ~/Library/Services/
|
||||
/System/Library/CoreServices/pbs -update
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Right-click any supported file in Finder → **Services → Convert to Markdown**
|
||||
|
||||
The output `.md` file is saved in the same folder as the original.
|
||||
|
||||
## Supported formats
|
||||
|
||||
`.docx` `.odt` `.pptx` `.xlsx` `.epub` `.html` `.rtf` `.tex` `.rst` `.org` `.csv` `.tsv` `.json` `.xml` `.ipynb` `.fb2` `.adoc` `.textile` `.typ` and more.
|
||||
|
||||
> `.doc` (old Word format) is **not supported** by pandoc. Save as `.docx` first.
|
||||
|
||||
## If the menu item doesn't appear
|
||||
|
||||
- Check **System Settings → Privacy & Security → Extensions → Finder** — make sure the action is enabled
|
||||
- Or go to **System Settings → Keyboard → Keyboard Shortcuts → Services**
|
||||
Reference in New Issue
Block a user