Home > Designing, Others > Considerations for styling the `pre` tag

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:

  1. Do you use the tag inside?
  2. Choosing a font stack
  3. To wrap or not to wrap?
  4. How you can (easily) make code blocks auto-expanding
  5. Dangers if it is headed to email
  6. Syntax highlighting
  7. Language labeling
  8. White-space control
  9. Alternatives

Direct Link to ArticlePermalink


Considerations for styling the `pre` tag is a post from CSS-Tricks

Categories: Designing, Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.