webdevcody / webdevcody/code-racer
[FEATURE]: Add code block to Add Snippet page
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 697
- Forks
- 594
- PR merge metrics
- No merged PRs in 30d
Description
Feature Summary
As a user, I want the ability to insert a code block in the Code Snippet textarea so that I can see my code in its preformatted text.
Whether it's with a traditional code block in a text editor or a useState hook to create a state variable codeView toggle, I feel that users would find it more aesthetically pleasing to see their custom code as displayed in their IDE.
Code of Conduct
- I agree to follow this project's Code of Conduct
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Add Snippet page and trace the Code Snippet textarea and any existing state or rendering logic. Determine whether the intended result is an in-editor code block or a separate preformatted view, then implement the agreed behavior and verify that custom code displays with preserved formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100