diff --git a/README.md b/README.md
index eaa47dc..09eeffa 100644
--- a/README.md
+++ b/README.md
@@ -409,31 +409,37 @@ Newline trimming
If the opening or closing section tag are the only thing on a line, any surrounding whitespace and
the line terminator following the tag are trimmed. This allows for civilized templates, like:
- Favorite foods:
-
- {{#people}}
- - {{first_name}} {{last_name}} likes {{favorite_food}}.
- {{/people}}
-
+```html
+Favorite foods:
+
+ {{#people}}
+ - {{first_name}} {{last_name}} likes {{favorite_food}}.
+ {{/people}}
+
+```
which produces output like:
- Favorite foods:
-
- - Elvis Presley likes peanut butter.
- - Mahatma Gandhi likes aloo dum.
-
+```html
+Favorite foods:
+
+ - Elvis Presley likes peanut butter.
+ - Mahatma Gandhi likes aloo dum.
+
+```
rather than:
- Favorite foods:
-
-
- - Elvis Presley likes peanut butter.
-
- - Mahatma Gandhi likes aloo dum.
-
-
+```html
+Favorite foods:
+
+
+ - Elvis Presley likes peanut butter.
+
+ - Mahatma Gandhi likes aloo dum.
+
+
+```
which would be produced without the newline trimming.