indigola.blogg.se

Coda for mac
Coda for mac








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)

coda for mac

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

  • Have it fade in when the snippet is rolled over.
  • Append a special Coda-formatted link to the block.
  • We’ll rely on jQuery to do all that magic for us. That’s a heck of a lot of duplicated effort. What I didn’t want to do was have to hand-write all that into every single snippet. This is the structure (href of link): codaclips://>.code-goes-here

    coda for mac

    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.










    Coda for mac