Comment

Comment by perihelions

- "This rule isn't perfect as it only removes the title line and keeps the number of comments"

Try a pattern like this, to match three <tr/>'s in a row:

    :xpath(.. | ../following-sibling::tr[1] | ../following-sibling::tr[2])
(Or a cyclic permutation of it, depending on which <tr/> you're anchoring to).
parent perihelions 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton