Comments (2)
Ah. Yeah, you're right, I wasn't aware that this works
from bart.
Hi! Thanks for getting in touch!
It's been a long time since I have had the opportunity to touch this project. My immediate reaction is to recommend the use of iteration instead. So, you're asking for support for syntax like this: {{#the_option?}}The Option is Some(...){{/the_option}}
. Would it be sufficient for you to use {{#the_option}}The Option is Some(...){{/the_option}}
instead? If not, can you please elaborate on what you need and the differences you need as compared to this iteration possibility?
(See also the test that uses iteration on an Option)
from bart.
Related Issues (20)
- Support boolean conditionals HOT 2
- Relative paths HOT 4
- Rustdoc documentation HOT 1
- [discuss] Allow multi template for same data type HOT 3
- Support accessing tuple fields
- Support specifying the root element for the template
- Support rendering with trait objects
- Clippy Lints HOT 2
- Support Enums HOT 3
- Fix HTML escaping
- More examples
- error: proc-macro derive panicked in bart_derive::parse_str HOT 1
- Proper diagnostics/errors
- Fix parsing of variable names HOT 1
- Make cargo/rustc understand that the template file is a build dependency HOT 2
- Support alternative tag styles
- Fix iteration of slices
- Fail better when unable to parse
- Support negative sections HOT 1
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 bart.