Skip to content

Add paste-to-markdown extension #19999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

wei
Copy link

@wei wei commented Jun 24, 2025

paste-to-markdown

Description

A Raycast Extension that instantly pastes rich text or HTML content into Markdown.

Features

  • Instant Conversion: Convert HTML clipboard content to Markdown with a single command
  • Smart Detection: Automatically detects HTML content in clipboard and provides helpful feedback for plain text
  • Customizable Output: Configure Markdown formatting through Raycast preferences
  • Comprehensive Options: Full control over Markdown formatting with all Turndown options
  • Robust Error Handling: Graceful handling of edge cases with clear user feedback
  • Command Alias: Quick access with the pmd alias

Screencast

Settings Screenshot

Screen.Recording.2025-06-23.at.8.30.59.PM.1.mp4

Checklist

- feat: update changelog and README for version 1.0.0; enhance preferences and clipboard handling
- refactor: remove github flavored markdown option
- feat: update clipboard handling to use AppleScript for HTML retrieval
- feat: implemented paste to markdown
- feat: add product design document
- init: initial commit
@raycastbot raycastbot added the new extension Label for PRs with new extensions label Jun 24, 2025
@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@wei wei marked this pull request as ready for review June 24, 2025 00:36
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added new 'Paste to Markdown' extension that converts HTML clipboard content to Markdown format with configurable preferences and smart detection capabilities.

  • CHANGELOG.md needs to use {PR_MERGE_DATE} template string in version header instead of hardcoded date
  • Missing required metadata folder with screenshots for store submission
  • Preferences should not manually specify types as they are autogenerated in raycast-env.d.ts
  • ESLint devDependency version (^9.29.0) in package.json needs correction as this version doesn't exist

8 files reviewed, 2 comments
Edit PR Review Bot Settings | Greptile

@wei wei marked this pull request as draft June 24, 2025 00:42
@wei wei marked this pull request as ready for review June 24, 2025 00:57
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Latest changes to the Paste to Markdown extension focus on implementation details and code improvements.

  • Improved error handling in paste-to-markdown.ts with proper user feedback via HUD messages
  • Removed redundant Preferences interface in favor of auto-generated Preferences.PasteToMarkdown type
  • Added AppleScript integration for HTML clipboard access with plain text fallback
  • Added comprehensive configuration options through extension preferences

Noted previous suggestions still need to be addressed.

2 files reviewed, no comments
Edit PR Review Bot Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants