LaunchCodeEducation / LaunchCodeEducation/lchs
Misaligned code block line numbers.
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The Issue:
Throughout the textbook, whenever a code block appears inside an admonition, the formatting of the line numbers causes them to be spaced differently than the code.
When code blocks appear outside of the admonitions, however, the line numbers match the code.
Here are a couple of links and screenshots to provide examples:
Links:
- Misaligned = https://education.launchcode.org/lchs/chapters/loops/conditional-loops.html#looping-if
- Aligned = https://education.launchcode.org/lchs/chapters/strings/string-conditionals.html#checking-with-in-and-not-in
Screenshots:
Contributor guide
No contributing guide indexed for this repository
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
Compare the code block in the conditional-loops.html admonition with the aligned block in string-conditionals.html, using the linked screenshots as references. Trace the styles applied to code blocks inside admonitions and adjust the formatting so line numbers align with the code without changing blocks outside admonitions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100