Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CSS templates #9

Open
coderarity opened this issue Aug 27, 2012 · 1 comment
Open

Support CSS templates #9

coderarity opened this issue Aug 27, 2012 · 1 comment

Comments

@coderarity
Copy link

We could add support for compiling Sass/LESS/Stylus templates to CSS. I think that they share a lot of similarities with HTML templates, with the important exception that they don't really have data binding. I guess that means you wouldn't pass anything into the render function.

So it'd look something like this:

var viewful = require('viewful');

var view = new viewful.View({ 
  template: "color: #FFFFFF",
  input: "less"
});

view.render();
@Marak
Copy link
Contributor

Marak commented Aug 27, 2012

I'll support any templating / markup language available.

Just start a fork and add the engine / tests.

Markdown would be a good one to start with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants