yokolet / clementine

Gem for ClojureScript on Rails Asset Pipeline
MIT License
123 stars 20 forks source link

Sinatra #5

Open cannyboy opened 11 years ago

cannyboy commented 11 years ago

Can Clementine be used with Sinatra? With Sinatra, and the Slim template, I can stick this in a foo.slim file:

h1 this is a header
coffee:
  alert "hello this is coffeescript speaking"

Could the same thing be done with clementine / clojurescript ? The Sinatra documentation has something about Tilt: http://www.sinatrarb.com/intro.html#Adding%20Your%20Own%20Template%20Engine

cannyboy commented 11 years ago

I suppose this might be more of a Slim issue than a Sinatra issue: https://github.com/slim-template/slim#embedded-engines-markdown-