Fix formating
This commit is contained in:
parent
7e9c206baf
commit
fd2de4212c
@ -88,9 +88,9 @@ 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",
|
||||||
@ -101,7 +101,7 @@ Are you confused? Don't worry, here is an example putting all of this together.
|
|||||||
"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.
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user