
The images are just buttons I put together in Photoshop, sprites of course, for the rollover effect. $("Add Coda Clip").attr("href",$snippet).appendTo($preblock)

Var $snippet = "codaclips://>" + encodeURIComponent($codeblock.text()) Var $title = $("#snippet-header").text()

This was the easier of the two, because Coda supports a special URL structure thingy (not sure what to call it), where literally an anchor link on a web page can add a clip to Coda (assuming you have it installed). I hope to make a copy-to-clipboard function that will be useful for anybody. I realize this is way Mac-specific, but if you roll that way and use either of these programs it’s way cool. I think this is the coolest thing since Kayne carved cult symbols onto his head: each snippet in the Snippets area now has little links when you roll over them for adding the snippet to Coda or TextMate.
