Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

raycast-scripts

Personal Raycast Script Commands by Aaro Isosaari.

Commands

clipboard-to-markdown.sh

Converts rich text on the clipboard to Markdown and pastes it into the focused text field — one hotkey, no intermediate steps.

Useful for pasting formatted content from Slack, webpages, Notion, etc. into plain-text inputs like Claude, ChatGPT, or terminals without losing structure (links, bold, blockquotes, lists).

Flow: copy rich text → hit hotkey → Markdown appears inline.

How it works: reads the public.html flavor off the pasteboard, runs it through pandoc -f html -t gfm, writes the result back with pbcopy, and sends ⌘V to the frontmost app via osascript.

Setup

  1. Install pandoc: brew install pandoc
  2. In Raycast: Settings → Extensions → Script Commands → Add Directories, select this repo's folder.
  3. Expand Script Commands in the list, find each script, and bind a hotkey (I use ⇧⌘N for clipboard-to-markdown).
  4. Grant Raycast Automation → System Events permission the first time a script that sends keystrokes runs. If the prompt doesn't appear, reset with: tccutil reset AppleEvents com.raycast.macos.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages