Skip to content

feat: add Ctrl+Shift+C keyboard shortcut to copy markdown#69

Open
ankeeta-mohanty wants to merge 2 commits into
Mohit-368:mainfrom
ankeeta-mohanty:feature/keyboard-shortcut-copy
Open

feat: add Ctrl+Shift+C keyboard shortcut to copy markdown#69
ankeeta-mohanty wants to merge 2 commits into
Mohit-368:mainfrom
ankeeta-mohanty:feature/keyboard-shortcut-copy

Conversation

@ankeeta-mohanty
Copy link
Copy Markdown

Summary

Adds a keyboard shortcut (Ctrl+Shift+C / Cmd+Shift+C) that triggers
the Copy Markdown action, allowing power users to copy the generated
README without reaching for the mouse.

Changes Made

  • readmeforge.js — Added a keydown event listener that calls the
    existing copyMarkdown() function when Ctrl+Shift+C is pressed
  • index.html — Added a title attribute to the Copy button showing
    the shortcut hint on hover

How It Works

  • Ctrl+Shift+C triggers the copy on Windows and Linux
  • Cmd+Shift+C triggers the copy on Mac
  • e.preventDefault() stops any browser default behavior
  • Uses the already existing copyMarkdown() function — no duplicate logic

Closes issue: #5

@netlify
Copy link
Copy Markdown

netlify Bot commented May 5, 2026

Deploy Preview for makeareadme ready!

Name Link
🔨 Latest commit 006e157
🔍 Latest deploy log https://app.netlify.com/projects/makeareadme/deploys/69fa1378aa080a0009dadf44
😎 Deploy Preview https://deploy-preview-69--makeareadme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Mohit-368
Copy link
Copy Markdown
Owner

@ankeeta-mohanty did you mention about this anywhere in the website?

@ankeeta-mohanty
Copy link
Copy Markdown
Author

ankeeta-mohanty commented May 11, 2026

@Mohit-368 No I haven't..should I do that??

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.

2 participants