maud/docs/content
Alexandre Macabies 2909e5129c
Add support for Option<T> attributes ()
* Add support for Option<T> attributes

Introduces the `attr=[value]` syntax that assumes `value` is an
`Option<T>`. Renders `attr="value"` for `Some(value)` and entirely
omits the attribute for `None`.

Implements and therefore closes .

* Call `Generator::splice` directly

* Handle struct literals (edge case)

Co-authored-by: Chris Wong <xbuns@google.com>
2021-10-29 16:24:34 +11:00
..
control-structures.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
elements-attributes.md Add support for Option<T> attributes () 2021-10-29 16:24:34 +11:00
faq.md Rewrite docs () 2020-11-02 12:53:27 +13:00
getting-started.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
index.md Remove "blazing" () 2021-09-24 10:01:55 +00:00
partials.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
render-trait.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
splices-toggles.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
text-escaping.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
web-frameworks.md Update to support axum 0.2 () 2021-10-16 14:14:27 +11:00