Plugins

Plugin playground

Write a plugin on the left, press Run, and it works on the right in a pretend Coffee window. Nothing is installed, and your code stays in this browser.

⌘↩ runs it. After coffee., suggestions show what each part does; Ctrl-Space shows them again.

Trying a plugin.md

Things to try

  • In Hello world, change "Hello, world!" to your own words and press Run.
  • Change the icon from "hand.wave" to "star" or "heart".
  • Pick Sort lines, select the list in the note, and choose Sort Selected Lines from the Plugins menu.
  • Pick Bar charts and change the numbers in the note: the chart follows.
  • Use console.log("hi"): it shows under your code.

The playground does what Coffee does, with a few differences: notes other than this one are two made-up examples, coffee.fetch doesn't go on the internet, and icons are a small set. When it works, install it in Coffee and send it for review.