Considerations for styling the `pre` tag
I wrote about a bunch of design things you should think about if you use the
tag in your content. Things like:
- Do you use the
tag inside?
- Choosing a font stack
- To wrap or not to wrap?
- How you can (easily) make code blocks auto-expanding
- Dangers if it is headed to email
- Syntax highlighting
- Language labeling
- White-space control
- Alternatives
Direct Link to Article — Permalink
Considerations for styling the `pre` tag is a post from CSS-Tricks