Comments (2)
I assume you want discussion here about how the extensions api would work. I've got use cases for extensions that I will evaluate against the ideas discussed.
from coffeekup.
That's right. Though I think this feature should land in 0.2.5 or 0.3.0 as 0.2.4 needs to get published ASAP.
One feature that could qualify as a plugin to me is abbreviated attributes.
One I'm not sure if should be a plugin or a builtin is stylus support (and markdown, and textile, and sass, and less...).
Some things to bear in mind, off the top of my head:
- CK runs on the browser too. Each additional feature adds to coffeekup.js download size, and potentially (even worse) to each compiled template function.
- Currently coffeekup.coffee is the final coffeekup.js, without modifications, on both node.js and the browser. I think this is desirable to keep.
- CK is not a language. It's a library that allows HTML-resembling CoffeeScript functions to output a string (with the equivalent document) when run. So real language extensions are not possible, only clever exploits of the existing CoffeeScript syntax.
from coffeekup.
Related Issues (20)
- Asynchronous document support
- using coffeekup with express
- How to include javascript body?
- How to access tag helpers from a different scope (e.g. inside a helper object instance)? HOT 1
- coffeekup cli not working with coffeescript 1.2 HOT 10
- svg tag support
- Lack of a unescape/safe helper when autoescape in on HOT 1
- Still alive? HOT 29
- Blocks / place holders in layouts HOT 2
- enabling and disabling button HOT 1
- CoffeeScript is going to make "yield" the reserved word HOT 3
- This project is dead? HOT 7
- you may be interested in this alternative: coffee-templates HOT 3
- Incorrect package.json HOT 4
- How To Refactor Right? HOT 1
- How to define custom tags?
- Is this project dead? HOT 26
- Moving to new github organisation for the longer suatainablity and maintenance of the project: New Org Coffeekup HOT 4
- DryKup, a fork of CoffeeCup HOT 1
- unused tags research
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coffeekup.