liquid-rust
                                
                                 liquid-rust copied to clipboard
                                
                                    liquid-rust copied to clipboard
                            
                            
                            
                        Liquid templating for Rust
Example test: ```rust assert_template_result!("0", r#"{{ "foo" | times:4 }}"#); ```
Example test: ```rust assert_template_result!("2.0", r#"{{ "1" | plus:"1.0" }}"#); ```
Building on #232, when embedded inside of Cobalt, the liquid will come after the frontmatter, for example ```yaml --- title: Foo --- # {{ page.title }} Hello World! ``` As...
Example test: ```rust assert_template_result!( r#"test string"#, r#"{% capture 'var' %}test string{% endcapture %}{{var}}"#, ); ```
So `?` is in the grammar of all implementations of liquid. The problem is I do not see a single place where [we](https://github.com/cobalt-org/liquid-rust/search?utf8=%E2%9C%93&q=Question&type=), [the ruby implementation](https://github.com/Shopify/liquid/search?q=%3Aquestion&unscoped_q=%3Aquestion), or the [c implementation](https://github.com/Shopify/liquid-c/search?q=TOKEN_QUESTION&unscoped_q=TOKEN_QUESTION)...
These would be helpful for things like cargo-generate and cargo-tarball.
Things like basename for tools like cargo-generate and cargo-tarball The question is which variant of these commands should we implement?
Concerns - Each tool might have its own flavor of liquid (set of filters, tags) - A central place to document these could be confusing - Keeping documentation away from...
See https://github.com/cobalt-org/cobalt.rs/issues/376
liquid-rust version: rust version: rustc 1.24.0 OS: Mac OSX First of all thanks for porting this template engine to rust! I managed to get it working in the web framework...