aboutsummaryrefslogtreecommitdiffstats
path: root/book/src/integrations.md
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-06-30 09:43:09 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-06-30 09:43:09 +0200
commit506a38e5b08deab222d25680fa7cabff02a096c5 (patch)
tree28c32b89467f80ef3d31b3e00e778b6307303c4c /book/src/integrations.md
parentce2d2db32ed5b4330568cdf1ce55e17242eeb334 (diff)
downloadaskama-506a38e5b08deab222d25680fa7cabff02a096c5.tar.gz
askama-506a38e5b08deab222d25680fa7cabff02a096c5.tar.bz2
askama-506a38e5b08deab222d25680fa7cabff02a096c5.zip
Move optional filter documentation into filters section
Diffstat (limited to '')
-rw-r--r--book/src/integrations.md23
1 files changed, 0 insertions, 23 deletions
diff --git a/book/src/integrations.md b/book/src/integrations.md
index ed0fec0..25bcc18 100644
--- a/book/src/integrations.md
+++ b/book/src/integrations.md
@@ -50,26 +50,3 @@ Enabling the `with-warp` feature appends an implementation of Warp's `Reply`
trait for each template type. This makes it simple to return a template from
a Warp filter. See [the example](https://github.com/djc/askama/blob/master/askama_warp/tests/warp.rs)
from the Askama test suite for more on how to integrate.
-
-## The `json` filter
-
-Enabling the `serde-json` filter will enable the use of the `json` filter.
-This will output formatted JSON for any value that implements the required
-`Serialize` trait.
-
-```
-{
- "foo": "{{ foo }}",
- "bar": {{ bar|json }}
-}
-```
-
-## The `yaml` filter
-
-Enabling the `serde-yaml` filter will enable the use of the `yaml` filter.
-This will output formatted JSON for any value that implements the required
-`Serialize` trait.
-
-```
-{{ foo|yaml }}
-``` \ No newline at end of file