Jonathan's Blog
  • Home
  • About
  • Photography
  • micro.blog
  • 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

Sep 24, 2012
← Previous
Next →
  • Sign up
Jonathan's Blog © 2025. Powered by Ghost