From ef95da4d4797cbb3ffff1f1effdc55a1c2a5fe72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Sun, 12 Oct 2025 23:57:37 +0300 Subject: [PATCH] mention languages for code blocks in babycode help --- app/templates/babycode.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/templates/babycode.html b/app/templates/babycode.html index ac5c173..8d72602 100644 --- a/app/templates/babycode.html +++ b/app/templates/babycode.html @@ -139,6 +139,7 @@ {{ ('[code]%s[/code]' % code) | babycode | safe }}

Optionally, you can enable syntax highlighting by specifying the language in the attribute like this: [code=gdscript]

{{ ('[code=gdscript]%s[/code]' % code) | babycode | safe}} +

A full list of languages that can be highlighted is available here (the short names column).

Inline code tags look like this: {{ '[code]Inline code[/code]' | babycode | safe }}

Babycodes are not parsed inside code blocks.