Skip to content
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

feat(editor): paste URLs as links #254

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

Conversation

eatyourgreens
Copy link
Contributor

@eatyourgreens eatyourgreens commented May 27, 2024

Intercept paste events and paste the text content as a Markdown link, if it begins with 'http'.

Try it out in Talk. Any selected text should be converted to a link, unless you're trying to paste one URL over another URL. Paste should continue to work as usual, otherwise.

Screen.Recording.2024-05-27.at.15.29.49.mov

Install this branch from GitHub:

"markdownz": "eatyourgreens/markdownz#feat-paste-links"

Intercept `paste` events and paste the text content as a Markdown link, if it begins with 'http'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant