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: Introduce Copy Button at Top of Code Blocks #45

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

Conversation

RohitM-IN
Copy link

@RohitM-IN RohitM-IN commented Dec 25, 2023

Description

This pull request introduces a copy button at the top of each code block. Users can easily copy the code by clicking the button, providing a convenient and accessible way to copy code snippets.

Changes Made

  • Added a copy button (with an SVG icon) at the top of each code block.
  • Improved the layout to ensure the button remains fixed at the top even during scrolling.
  • Enhanced the styling for a better user experience.

Screen Shots

image

Resolved:

#8 Make code block code easily copyable
#36 Added Js for fixing this issue

input/_Layout.cshtml Outdated Show resolved Hide resolved
@RohitM-IN
Copy link
Author

status?

@daveaglick
Copy link
Member

status?

I'm pretty busy these days and it's not unusual for issues and PRs to be a few weeks before I get another burst of time. Just setting realistic expectations :). That said, I'm trying to carve out a little time more regularly, but I can't say when exactly I'll get to this one.

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

Successfully merging this pull request may close these issues.

3 participants