Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

auto numbering not recursive #15

Closed
leemarrett opened this Issue · 1 comment

3 participants

@leemarrett

if i want to do a block of thumbnails:

<a href="#" id="1"><img src="1.jpg"></a>
<a href="#" id="2"><img src="2.jpg"></a>

it would be nice to use:
a[href=#][id=$] *5 > img[src=$.jpg]

And have the numbers match.

Currently I get:

<a href="#" id="1"><img src="1.jpg"></a>
<a href="#" id="2"><img src="1.jpg"></a>
@terencehonles

try using sparkup's second count specifier "&"

a[href=#][id=$] *5 > img[src=&.jpg]

or the more compact
a#$[href=#] *5 > img[src=&.jpg]

@sporkbox sporkbox closed this
@sporkbox sporkbox added the invalid label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.