Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including emblem-brunch with all npm packages installed. Try it out:

var emblemBrunch = require("emblem-brunch")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

emblem-brunch v0.1.1

Adds Emblem.js support to brunch.


Adds Emblem support to brunch.


Add "emblem-brunch": "x.y.z" to package.json of your brunch app.

Pick a plugin version that corresponds to your minor (y) brunch version.

If you want to use git version of plugin, add "emblem-brunch": "git+".

Download Emblem and Handlebars.


exports.config =
    # ...
      precompile: true
      root: 'templates'
      defaultExtension: 'emblem'
      joinTo: 'javascripts/app.js'
        # If you don't specify jquery and ember there,
        # raw (non-Emberized) Handlebars templates will be compiled.
        jquery: 'vendor/scripts/jquery-1.9.0.min.js'
        ember: 'vendor/scripts/ember-latest.js'
        handlebars: 'handlebars.js'
        emblem: 'emblem.js'

With Ember

Require templates in your main script.

require 'templates/application'
require 'templates/index'

This will configure Ember.TEMPLATES automatically.

Without Ember

Require templates where you need them.

index_template = require 'templates/index'


Based on handlebars-brunch and ember-precompiler-brunch.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free