diff --git a/docs/README.md b/docs/README.md
index 8618aeda6d2a119a1f543ed58dcba580a6ac32cd..7bc75954d18f989bd2215fa392196040dc6e856b 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1234,7 +1234,7 @@ Same as `mg_asprintf()` but uses `va_list` argument.
 
 ### mg\_to64()
 
-```
+```c
 int64_t mg_to64(const char *s);
 ```
 
@@ -1242,7 +1242,7 @@ Parse 64-bit integer value held by string `s`.
 
 ### mg\_aton()
 
-```
+```c
 bool mg_aton(struct mg_str str, uint32_t *ipaddr);
 ```