Use classic Markdown code block style

This commit is contained in:
Wuzzy 2024-12-14 18:22:44 +01:00
parent e8aaa94415
commit 395f2d189a

12
API.md
View File

@ -22,10 +22,8 @@ Returns: Two values, the first one is required.
Example:
```
tt.register_snippet(function(itemstring)
if minetest.get_item_group(itemstring, "magic") == 1 then
return "This item is magic"
end
end)
```
tt.register_snippet(function(itemstring)
if minetest.get_item_group(itemstring, "magic") == 1 then
return "This item is magic"
end
end)