Skip to content
/ CodaKit Public

A bunch of commands to speed up your workflow while hanging around in Coda 2.

License

Notifications You must be signed in to change notification settings

ptfly/CodaKit

Repository files navigation

CodaKit

A bunch of commands to speed up your workflow while working with Coda 2.

  • Compile DustJS template (needs node & dustc installed and two symlinks*)
    • sudo ln -s /usr/local/bin/node /usr/bin/node
    • sudo ln -s /usr/local/bin/dustc /usr/bin/dustc
  • Flip Quotes (replace single with double quotes and reverse)
  • Capitalize Selection
  • Uncapitalize Selection
  • Delete Selection / Current Line
  • Duplicate Selection / Current Line
  • Wrap selection with: h1, h2, h3, h4, h5, h6, div, span, p, strong, em

![Plugin Menu](http://i.imgur.com/FZFPQm7.png =254x226)

Preferences -> JSHint

####Download#### Compiled plugin can be found in the Plugin directory.

LinkedIn DustJS Compiler Notes

  • In the site root, create a file dust.config in JSON format
{
	"compileDir":"/_cache", // path where the compiled "JS" file goes
	"templateDir":"/templates", // main directory where all your templates are stored
	"compileFilesWithExtension":"dust", // which files (determined by the extension) will be compiled on save
	"preserveDirectoryStructure":true // mirror the structure of the templates directory to the _cache (in this case)
}

About

A bunch of commands to speed up your workflow while hanging around in Coda 2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published