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]: Implement programming language selection dropdown with dynamic code syntax highlighting #3

Open
3 of 4 tasks
harmeetsingh11 opened this issue Dec 5, 2023 · 12 comments

Comments

@harmeetsingh11
Copy link
Owner

harmeetsingh11 commented Dec 5, 2023

Feature Description

Overview:

Enhance the Original Code component's title bar to include a dropdown menu for selecting programming languages. Depending on the selected language, implement code syntax highlighting and display line numbers for a better code viewing experience.

Expected Behavior:

  1. The title bar of the code component should have a dropdown menu for selecting programming languages.
  2. Upon selecting a language from the dropdown, the code entered/pasted in the component should be code syntax-highlighted accordingly.
  3. Line numbers should be visible alongside the code.

Steps to Reproduce:

  1. Navigate to a page with a code component.
  2. Observe the title bar for the presence of the programming language dropdown.
  3. Select different programming languages and note the changes in code syntax highlighting and the appearance of line numbers.

Environment:

  • Browser: Chrome
  • Device: Desktop

Record

@harmeetsingh11 harmeetsingh11 changed the title [Feature Request]: Implement programming language selection dropdown in Original Code Component with dynamic code syntax highlighting" [Feature Request]: Implement programming language selection dropdown in Original Code Component with dynamic code syntax highlighting Dec 5, 2023
@harmeetsingh11 harmeetsingh11 changed the title [Feature Request]: Implement programming language selection dropdown in Original Code Component with dynamic code syntax highlighting [Feature Request]: Implement programming language selection dropdown with dynamic code syntax highlighting Dec 5, 2023
@harmeetsingh11 harmeetsingh11 added CodePeak'23 enhancement New feature or request labels Dec 5, 2023
@harmeetsingh11 harmeetsingh11 changed the title [Feature Request]: Implement programming language selection dropdown with dynamic code syntax highlighting [FEATURE REQUEST]: Implement programming language selection dropdown with dynamic code syntax highlighting Dec 6, 2023
@harmeetsingh11 harmeetsingh11 changed the title [FEATURE REQUEST]: Implement programming language selection dropdown with dynamic code syntax highlighting [FEAT]: Implement programming language selection dropdown with dynamic code syntax highlighting Dec 8, 2023
@hemant933
Copy link

sir , i want to work on it . Plz assign it to me

@harmeetsingh11
Copy link
Owner Author

harmeetsingh11 commented Dec 24, 2023

@hemant933 Are you a contributor in Codepeak program?

@hemant933
Copy link

hemant933 commented Dec 24, 2023 via email

@harmeetsingh11
Copy link
Owner Author

@hemant933 the issue has been assigned to you and you can start working on it:)

@hemant933
Copy link

hemant933 commented Dec 24, 2023 via email

@hemant933
Copy link

sir i also pull a request of hero.tsx plz consider it

@hemant933
Copy link

i created a PR plz review it

@Hrx4
Copy link

Hrx4 commented Jan 15, 2024

Hey @hemant933 assign this issue to me under JWOC

@harmeetsingh11
Copy link
Owner Author

@Hrx4 the issue has been assigned to you, you can start working on it.

@sumit-kumar-jha1709
Copy link

@harmeetsingh11 if the contribution oppotunity is open for this issue, then pray assign me this issue under JWOC.

@harmeetsingh11
Copy link
Owner Author

@sumit-kumar-jha1709 the issue has been assigned to you :)

@RahulRudra81
Copy link

Can you assign this to me and add tags for vsoc24 also because I am a participant in both so can get it evaluated for both. Also can you please rethink for the level like it could be a level 3 and I will make It dynamic such that the text in the editor will be bydefault text and when you select any option it will change the formatting according to the selected language @harmeetsingh11

@harmeetsingh11
Copy link
Owner Author

@RahulRudra81 Yes, sure. I am assigning this issue to you.
The default text in the editor will be JavaScript, with syntax highlighting and formatting. Upon changing the language, the syntax highlighting and formatting will also change accordingly. Wish you all the best👍

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

5 participants