Rebase of #857
This makes filters just use an external library. It uses transformers which supports all the same filters as jade so there's no loss of functionality. There are loads of additional filters that are then supported, which I think is really useful.
We could move transformers and coffee-script into devDependencies and let people install them only if needed?
P.S.transformers works like consolidate.js and does not install the dependencies itself, but lets you install the ones you need.
+1 this looks like a great idea... as soon as it has full test coverage, it'll be perfect.
It has pretty full test coverage on account of replacing the filters already in place for coffee-script/markdown etc.
It doesn't make sense to have test coverage for every single possible filter, since those are all tested in more depth in transformers.
Oh, sorry, I thought that this introduced those new features you described in #853, so the fact that no tests had been added led me to assume that this feature didn't have full test coverage. Anyway, I agree that tests aren't needed for every type of filter, but once features like chaining filters are added then there will need to be additional tests.
hope this will be merged soon
move filters to an external library