From c9ba5e8946b44a15b5b6125c36d6cd0e5db4235c Mon Sep 17 00:00:00 2001 From: Maxime BOCHON Date: Mon, 14 Feb 2022 16:19:50 +0100 Subject: [PATCH] README: use HTML code blocks for HTML examples --- README.md | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index e730851..62f8709 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: - +```html +Favorite foods: + +``` which produces output like: - Favorite foods: - +```html +Favorite foods: + +``` rather than: - Favorite foods: - +```html +Favorite foods: + +``` which would be produced without the newline trimming.