summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuhaitz <zuhaitz.zechhub@gmail.com>2026-01-30 21:57:35 +0000
committerGitHub <noreply@github.com>2026-01-30 21:57:35 +0000
commit51638176265392c70ca2e0014de95867bac4991e (patch)
tree2370b79d13b795dac1ae3b51885bc6f439af0392
parent6f95b74465f792ac9a600d5a41855f14173cd476 (diff)
Fix format error in READMEs
-rw-r--r--README.md2
-rw-r--r--README_ES.md2
-rw-r--r--README_ZH_CN.md2
-rw-r--r--README_ZH_TW.md2
4 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 001e590..ab51b83 100644
--- a/README.md
+++ b/README.md
@@ -607,7 +607,7 @@ Zen C supports a shorthand for prompting user input using the `?` prefix.
- `? "Enter age: " (age)`: Prints prompt and scans input into the variable `age`.
- Format specifiers are automatically inferred based on variable type.
-```c
+```zc
let age: int;
? "How old are you? " (age);
println "You are {age} years old.";
diff --git a/README_ES.md b/README_ES.md
index 999a7b4..d2cfbbb 100644
--- a/README_ES.md
+++ b/README_ES.md
@@ -606,7 +606,7 @@ Zen C soporta una abreviatura para solicitar entrada al usuario usando el prefij
- `? "Ingresa la edad: " (edad)`: Imprime el prompt y escanea la entrada en la variable `edad`.
- Los especificadores de formato se infieren automáticamente según el tipo de variable.
-```c
+```zc
let edad: int;
? "¿Cuántos años tienes? " (edad);
println "Tienes {edad} años.";
diff --git a/README_ZH_CN.md b/README_ZH_CN.md
index daa8a3d..2ac38a2 100644
--- a/README_ZH_CN.md
+++ b/README_ZH_CN.md
@@ -606,7 +606,7 @@ Zen C 支持使用 `?` 前缀进行用户输入提示的简写。
- `? "输入年龄: " (age)`: 打印提示并扫描输入到变量 `age` 中。
- 格式说明符会根据变量类型自动推断。
-```c
+```zc
let age: int;
? "你多大了? " (age);
println "你 {age} 岁了。";
diff --git a/README_ZH_TW.md b/README_ZH_TW.md
index 2707caa..13591cf 100644
--- a/README_ZH_TW.md
+++ b/README_ZH_TW.md
@@ -606,7 +606,7 @@ Zen C 支持使用 `?` 前綴進行用戶輸入提示的簡寫。
- `? "輸入年齡: " (age)`: 打印提示並掃描輸入到變量 `age` 中。
- 格式說明符會根據變量類型自動推斷。
-```c
+```zc
let age: int;
? "你多大了? " (age);
println "你 {age} 歲了。";