Update markdown-converter extension#27436
Draft
ewilderj wants to merge 1 commit intoraycast:mainfrom
Draft
Conversation
- Update markdown-converter extension - fix: remove unused error bindings in catch blocks (ESLint) - chore: update raycast deps for ESLint 9 flat config - chore: restore raycast development state after contributions merge - Merge branch \'contributions/merge-1777159310372\' - Pull contributions - docs: add layout table fix to Raycast changelog - feat: layout table unwrapping for email HTML conversion - docs: add smart clipboard detection to Raycast changelog - feat: smart clipboard detection for to-X commands - fix: use clean commit message in publish script - fix: remove chrome types reference from raycast globals.d.ts - Clarify installation source for Raycast extension Copilot-Session: 9ec08785-371e-46f4-8e8c-88d49c1a560e@f587e31d
Collaborator
|
Thank you for the update! 🎉 We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This update adds smart clipboard detection to the "Convert to" commands and fixes email HTML conversion.
Smart clipboard detection (fixes #26238)
The "Convert to Google Docs", "Convert to Word", "Convert to HTML", and "Convert to Slack" commands now detect when the clipboard contains rich text instead of Markdown/Org. When rich text is detected, the command automatically round-trips it through Markdown first, then converts to the target format — so users get clean output in one step instead of silently degraded results.
Toast messages now show the conversion path taken (e.g. "Rich text → Markdown → Google Docs") so the user knows what happened.
Email layout table handling
Email HTML from Gmail, Outlook, etc. uses table elements for visual layout rather than data. These layout tables previously caused content loss and broken Markdown table delimiters (| --- |). The converter now detects layout tables (role="presentation", border="0" with nested tables, th with block content) and unwraps them before conversion, preserving text, links, and formatting.
Screencast
n/a no UI changes
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder