Comments (4)
The way it's going to work for v2 is that you will have some built-in filters/fn/tests that don't require deps directly in Tera. Anything else will be a in a tera-contrib package with individual features for each element
from tera.
Would I be able to make a PR for v1 while v2 is still a work in progress? Or do you think v2 is stable enough to make the switch already?
My plan is to decrease the amount of dependencies Bevy uses in its CI, with Tera being the first on the list. The only filter it needs is slugify
. The templates are relatively simple.
from tera.
v2 is not coming that soon. For your usecase you can just disable the built-in feature and copy paste the slugify filter?
from tera.
To be honest I didn't realize you can register your own filters. Thanks for the idea!
Have a good weekend
from tera.
Related Issues (20)
- Trying to negate a value fails unexpectedly
- Stack overflow when template extends itself HOT 1
- render change '<h2>reason</h2>' to “ <h2>reason</h2>” HOT 1
- 如何调用异步标签,目前是不是不支持异步标签? HOT 9
- i want to add errors / success flash messages globals HOT 3
- How to specify the number of cycles? HOT 2
- `if` statement with parens fails to parse HOT 3
- How to split a string into a loopable array HOT 1
- error locations and IDE diagnostics support HOT 4
- Allow scoping context in block HOT 9
- Round filter does not return int with precision = 0
- [bug] for loop `else` doesn't strip whitespaces HOT 6
- jinja2 lstrip_blocks behavior HOT 1
- [FEATURE REQUEST] Support comparison operators for strings HOT 3
- Is there a function similar to minijinja's render_block? HOT 3
- Escaping is not applied at the expected level HOT 5
- Ability to build an object or hashmap? HOT 8
- error while importing HOT 2
- error while importing 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 tera.