Skip to content

Instantly share code, notes, and snippets.

@jerewall
Created February 13, 2015 16:21
Show Gist options
  • Save jerewall/e31c87b254b158fb88a3 to your computer and use it in GitHub Desktop.
Save jerewall/e31c87b254b158fb88a3 to your computer and use it in GitHub Desktop.
Emmet Make a Gallery using Tab
a[href="gallery/gallery$.jpg" rel="gallery"]*10>img[src="gallery/gallery$.jpg" alt="Gallery Image"]
Sample Ouput:
<a href="gallery/gallery1.jpg" rel="shadowbox"><img src="gallery/gallery1.jpg" alt="Gallery Image"></a>
<a href="gallery/gallery2.jpg" rel="shadowbox"><img src="gallery/gallery2.jpg" alt="Gallery Image"></a>
<a href="gallery/gallery3.jpg" rel="shadowbox"><img src="gallery/gallery3.jpg" alt="Gallery Image"></a>
<a href="gallery/gallery4.jpg" rel="shadowbox"><img src="gallery/gallery4.jpg" alt="Gallery Image"></a>
<a href="gallery/gallery5.jpg" rel="shadowbox"><img src="gallery/gallery5.jpg" alt="Gallery Image"></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment