tj/consolidate.js

Not working some tags on liquid

Opened this issue · 1 comments

I'm always thanks your libs.
I'm developing a site with liquid (cons.liquid).
but some tag is not working on liquid code below:
{% stylesheet 'scss' %} or {{ -17 | abs }} like that.
I found that tinyliquid and liquid-node in your code.
I think there libraries are not support liquid fully. so I wanna change to 'liquidjs', but I can't.
How can I do? Please help me.

doowb commented

I was going to provide an example of how to use liquidjs but the liquid renderer function isn't following the same pattern as other engines.

I'm going to mark this as a bug and if you or anyone else would like to make a PR to fix the renderer function, it would be appreciated.

The main idea is that you should be able to do this to use a different engine for liquid:

cons.requires.liquid = require('liquidjs');