Use classic Markdown code block style
This commit is contained in:
parent
e8aaa94415
commit
395f2d189a
12
API.md
12
API.md
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user