Fix formating

This commit is contained in:
rubenwardy 2014-12-11 19:49:41 +00:00
parent 7e9c206baf
commit fd2de4212c
2 changed files with 16 additions and 16 deletions

View File

@ -88,20 +88,20 @@ Are you confused? Don't worry, here is an example putting all of this together.
### init.lua ### init.lua
{% highlight lua %} {% highlight lua %}
print("This file will be run at load time!") print("This file will be run at load time!")
minetest.register_node("mymod:node",{ minetest.register_node("mymod:node",{
description = "This is a node", description = "This is a node",
tiles = { tiles = {
"mymod_node.png", "mymod_node.png",
"mymod_node.png", "mymod_node.png",
"mymod_node.png", "mymod_node.png",
"mymod_node.png", "mymod_node.png",
"mymod_node.png", "mymod_node.png",
"mymod_node.png" "mymod_node.png"
}, },
groups = {cracky = 1} groups = {cracky = 1}
}) })
{% endhighlight %} {% endhighlight %}
Our mod has a name of "mymod". It has two files: init.lua and depends.txt. Our mod has a name of "mymod". It has two files: init.lua and depends.txt.

View File

@ -62,7 +62,7 @@ html, body {
code { code {
display: inline-block; display: inline-block;
padding: 10px; padding: 5px 10px 5px 10px;
margin: 2px; margin: 2px;
background: #f0f0f0; background: #f0f0f0;
border: 1px solid #e0e0e0; border: 1px solid #e0e0e0;
@ -77,7 +77,7 @@ h1 {
h2 { h2 {
border-bottom: 1px solid black; border-bottom: 1px solid black;
margin: 40px 0 10px 0; margin: 30px 0 10px 0;
display: block; display: block;
padding: 0 0 5px 0; padding: 0 0 5px 0;
} }
@ -85,5 +85,5 @@ h2 {
h3 { h3 {
font-size: 105%; font-size: 105%;
font-weight: bold; font-weight: bold;
margin: 20px 0 10px 0; margin: 30px 0 10px 0;
} }