Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
colejohnson66
on June 27, 2022
|
parent
|
context
|
favorite
| on:
Explaining Code Using ASCII Art
If you're referencing line wrapping, wrapping the <pre> in a <div> with just two styles would work:
display: block; overflow-x: auto;
That would allow the <pre> to overflow to the right and let the user scroll over.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: