From fa1140895a7dc427df2515137aaea89c47a132d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Sat, 13 Dec 2025 07:37:54 +0300 Subject: [PATCH] use no fragment in some places in babycode guide --- app/templates/guides/user-guides/99-babycode.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/templates/guides/user-guides/99-babycode.html b/app/templates/guides/user-guides/99-babycode.html index 3bb137a..ca9e9a0 100644 --- a/app/templates/guides/user-guides/99-babycode.html +++ b/app/templates/guides/user-guides/99-babycode.html @@ -95,12 +95,12 @@

Paragraph rules

Line breaks in babycode work like Markdown: to start a new paragraph, use two line breaks:

{{ '[code]paragraph 1\n\nparagraph 2[/code]' | babycode | safe }} - Will produce:
- {{ 'paragraph 1\n\nparagraph 2' | babycode | safe }} + Will produce: + {{ 'paragraph 1\n\nparagraph 2' | babycode(true) | safe }}

To break a line without starting a new paragraph, end a line with two spaces:

{{ '[code]paragraph 1 \nstill paragraph 1[/code]' | babycode | safe }} That will produce:
- {{ 'paragraph 1 \nstill paragraph 1' | babycode | safe }} + {{ 'paragraph 1 \nstill paragraph 1' | babycode(true) | safe }}

Additionally, the following tags will break into a new paragraph: