I would expect simply changing the name from "foo.js.coffee" to "foo.js.litcoffee" or "foo.js.coffee.md" to work, but sadly no.
There is a sprockets issue. Which suggests I should be able to do this in an initializer:
Sprockets.register_engine '.litcoffee', Tilt::CoffeeScriptTemplate::Literate
But I get an error: "uninitialized constant Tilt::CoffeeScriptTemplate::Literate". So I've tried changing it to:
Rails.application.assets.register_engine '.litcoffee', Tilt::CoffeeScriptTemplate
Which allows the app to start, but the links are incorrect "foo.js.litcoffee.js"