-
I am encountering some lifetime troubles related to my state when using askama_axum. Since it seems to just be boilerplate around rendering to String and returning that, I decided I'll try rendering t…
-
right now we can't configure the placeholder syntax `{ thing }` which collides with latex. It'd be good to change it to something like that `` perhaps (that wouldn't be correct latex, or correct anyth…
mimoo updated
2 years ago
-
I cloned the repo and then run this test:
https://github.com/djc/askama/blob/5748c357d435b24848d1571df010d777859fede9/askama_axum/tests/basic.rs
This works, then I modify basic.rs to (`String` i…
-
Relevant dependencies:
```toml
askama = { version = "0.10.5", features = ["with-rocket"] }
askama_rocket = "0.11.0-rc.1"
rocket = "0.5.0-rc.1"
```
First template derive that fails:
```rus…
-
Tracking down the built-in filters available in jinja2. So that people can pick these to contribute. Feel free to add / remove items.
ref: https://jinja.palletsprojects.com/en/2.11.x/templates/#bui…
-
Hi! First of all, thanks for the great work!
I started using Askama recently and wanted to know how do you deal with syntax-highlight in text editors. I browse the issues and found a [IntelliJ-base…
-
The question of how to render a `Option` comes up every now and then. So I think it's time to provide a simpler built-in solution.
- Related #717
- Partially related #814
Today, I answered a [q…
-
Tower Web is a web framework built on top of the Tokio stack. It provides a
macro based API. It currently supports HTML templates using an existing
community handlebars library. However, better HTML…
-
Inspired by concerns voiced in [this comment](https://github.com/rust-lang/rust/issues/84419#issuecomment-826415318) that askama has a bad edit cycle because it involves recompilation each time. Ideal…
est31 updated
3 months ago
-
Currently, code like:
```jinja
{%- include "theme.js" -%}
```
generates:
```rust
::std::write!(
writer,
"\n\n ",
expr2 = &::askama::Ma…