Add hyperlinks syntax support as a Markdown shortcut #6140
Replies: 10 comments
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
Hey can someone please add this feature , need the link addition option , its there in markdown too |
Beta Was this translation helpful? Give feedback.
-
@tanishbaansal We fixed this on our side with a custom extension extending the built-in one. @bdbch Maybe something we could have natively? I'd prefer that, and get rid of the custom extension on our side 😅 (although there's more in there than just Markdown links). |
Beta Was this translation helpful? Give feedback.
-
Hey @rfgamaral |
Beta Was this translation helpful? Give feedback.
-
@tanishbaansal Look into the source code of our extension on Typist, and replicate the functionality on your side. I agree that this should be built-in (most extensions support Markdown shortcuts), but for now a workaround like this one is needed. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late answer. Sure would be nice to have directly integrated on the default link extension. 👍 |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? |
Beta Was this translation helpful? Give feedback.
-
+1 for this functionality |
Beta Was this translation helpful? Give feedback.
-
+1 from my side as well |
Beta Was this translation helpful? Give feedback.
-
Would be happy to accept a PR for it. |
Beta Was this translation helpful? Give feedback.
-
What problem are you facing?
Pretty much what the title says, if possible, with support for all sorts of links, or at least the most common/basic ones with and without titles: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links
What’s the solution you would like to see?
Copy and paste something like
[Tiptap](https://tiptap.com)
to the editor, and have it convert to a link node automatically (if the Link extension is added to the editor). It would also be nice to be able to type (instead of copy and paste), and when the link syntax is detected without errors, have it converted to a link.What alternatives did you consider?
n/a
Anything to add? (optional)
I understand this can be tricky to implement, and there's edge cases to handle like copy/pasting a link (or typing) after a backtick shouldn't trigger the link node creation. But it would be a nice addition to add, and it would make Markdown shortcuts a bit more complete.
Are you sponsoring us?
Beta Was this translation helpful? Give feedback.
All reactions