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

🧩 FEATURE REQUEST: Support for Markdown Formatting Keyboard Shortcuts #1624

Open
1 task done
GreenFlux opened this issue Nov 27, 2024 · 5 comments
Open
1 task done

Comments

@GreenFlux
Copy link

Concise Description

Add keyboard shortcuts for formatting the selected text as bold, italics, and inserting hyperlinks

Description

Requesting support for Markdown keyboard shortcuts.

Solution Proposed

  • cmd/ctrl + b: set selected text as bold
  • cmd/ctrl + i: set selected text as italics
  • cmd/ctrl + k: replace selected text with text placeholder
  • cmd/ctrl + v: when pasting a link over selected text, convert to hyperlink

Additional Context

Currently all Markdown formatting characters have to be typed manually. Providing a better writing experience will encourage more text posts, instead of linking to external blogs.

Code of Conduct

  • I follow the conditions of this project.
@idoshamun
Copy link
Member

Hi @GreenFlux,

Thanks for this great suggestion. We will open it for public contribution :)

@Abhi-Bohora
Copy link

Hello, I will be working on this one....😊

@idoshamun
Copy link
Member

Amazing! Top contributor 💪
@sshanzel fyi

@sshanzel
Copy link
Member

sshanzel commented Dec 4, 2024

@Abhi-Bohora this is one of my favorite features. Good luck with it, and let me know if you need any help 🤩

@Abhi-Bohora
Copy link

Abhi-Bohora commented Dec 4, 2024

@sshanzel Hello thanks for your support, I am also excited to work on this. How do you suggest that I should build this? I was thinking if you guys are deciding to use some formatting toolbar like library or something that can go together with our existing MarkdownInput component and maybe that library will also help here to implement different shortcut and maybe less chance to missing weird cases than while formatting and unformatting the word selected by the user manually by applying own logic. And will close this issue #1625 also along with this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants