diff --git a/book/src/filters.md b/book/src/filters.md
index 85a3f666..312ca6b8 100644
--- a/book/src/filters.md
+++ b/book/src/filters.md
@@ -104,7 +104,7 @@ Output:
### default
[#default]: #default
-```text
+```jinja,ignore
{{ variable_or_expression | default(default_value) }}
{{ variable_or_expression | default(default_value, [[boolean =] true]) }}
```
@@ -285,7 +285,7 @@ enabled by "alloc"
enabled by "default"
-```text
+```jinja,ignore
{{ "format_string" | format([variables ...]) }}
```
@@ -468,7 +468,7 @@ hello
### `pluralize`
[#pluralize]: #pluralize
-```text
+```jinja,ignore
{{ integer | pluralize }}
{{ integer | pluralize([singular = ""], [plural = "s"]) }}
```
diff --git a/testing/tests/book-examples.rs b/testing/tests/book-examples.rs
index 4fdc725a..be0fff1c 100644
--- a/testing/tests/book-examples.rs
+++ b/testing/tests/book-examples.rs
@@ -39,6 +39,9 @@ fn check_markdown(file: &Path, errors: &mut usize) {
if !label.contains("jinja") {
continue;
}
+ if label.split(",").any(|part| part == "ignore") {
+ continue;
+ }
let expects_error = label.split(",").any(|part| part == "error");
let has_jinja = label.split(",").any(|part| part == "jinja");
if !has_jinja {