Skip to content

1.5.4

Choose a tag to compare

@dereuromark dereuromark released this 05 Mar 15:04
· 55 commits to main since this release

What's Changed

Fixes

  • Fix Torchlight line highlighting CSS selectors - highlighted lines, diff add/remove, and focus lines now display correctly

Changed

  • Remove opinionated visual styling (blockquotes, links, tables, hr, images, captions, del/ins) - let themes handle it (#18)

Technical Details

Torchlight removes the line class from annotated lines instead of adding classes like line-highlight. Updated CSS to:

  • Target highlighted lines via div:not(.line) inside .has-highlight-lines
  • Target diff add/remove lines using :has() selector to detect line-number color
  • Apply padding to all code line divs for consistent alignment