HarshKapadia2 / HarshKapadia2/preview-markdown

Implement key bindings

Open
#13 0 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue
Dominant language
JavaScript
Stars
16
Forks
7
PR merge metrics
No merged PRs in 30d

Description

- Implement key bindings like crtl + B to make some text bold (add `**` around the highlighted text. Eg: `**text**`) and crtl + I to make some text italic (add `*` around the highlighted text. Eg: `*text*`).
- Article to help out: https://ralzohairi.medium.com/adding-custom-keyboard-shortcuts-to-your-website-b4151fda2e7a

Credits: @anuraghazra

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Locate the editor or input entry point and existing text-selection handling, then verify that Ctrl+B and Ctrl+I wrap selected text in the specified Markdown markers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.