Jonathan Poh
  • Home
  • About
  • Now
  • Photography
  • Socials
Sign in Subscribe

I've written up a blog post on the Atlassian Developer Blog on how we came up with a technique to render line numbers for source code and diffs in Stash (now called Bitbucket Server) using a combination of CSS pseudo-elements ( :before and :after) and counters. Read about  Stash's Pseudo Line Numbers (dead link).

CSS Pseudo-counters

Jonathan Poh
Jonathan Poh
24 Sep 2012
← Previous
Next →
  • Sign up
Jonathan Poh © 2026. Powered by Ghost