commit 50644cb7
Add code flags to markdown
Changed files
| M | Game/mods/1.3.0.bricks_unpacked.data/README.md before |
| M | README.md before |
diff --git a/Game/mods/1.3.0.bricks_unpacked.data/README.md b/Game/mods/1.3.0.bricks_unpacked.data/README.md
index 0051788..ad5e28f 100644
--- a/Game/mods/1.3.0.bricks_unpacked.data/README.md
+++ b/Game/mods/1.3.0.bricks_unpacked.data/README.md
@@ -6,7 +6,7 @@ It changes the bricks to use the graphic from 1.3.0. Not that way are good but i
At the moment it is possible to start mod in two ways. Command line argument or mod file.
### Command line
-```
+```bash
./blockattack --mod MODNAME
# Example:
./blockattack --mod 1.3.0.bricks
@@ -19,7 +19,7 @@ It is possible using a "mod_list.txt"-file in config directory.
* Linux: `$HOME/.local/share/blockattack/mod_list.txt`
The file is a csv-file without header and a line for each mod.
-```
+```csv
1.3.0.bricks,1
```
The fist column is the modname, the second column is "1" if enabled. A 0 means disabled. It is possible preserve the order while remembering the mod order.
diff --git a/README.md b/README.md
index 327260e..97967e9 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Source: <https://github.com/blockattack/blockattack-game>
## Building
The only supported build method is using the CMake<br/>
To build do:
-```
+```bash
./packdata.sh
cmake .
# or
@@ -32,12 +32,12 @@ cmake .
make
```
The result should be in the "Game"-folder. To run
-```
+```bash
./Game/blockattack
```
You can also choose to install it with
-```
+```bash
sudo make install
```
@@ -49,11 +49,11 @@ As getting a C++ project with many dependencies to compile can be a daunting tas
The project should at all time be able to compile on the oldest and latest supported version of Ubuntu. This is tested with Docker.
On a fresh checkout you can use:
-```
+```bash
docker build -f source/misc/docker/Dockerfile.Ubuntu18.04build . -t blockattack_test
```
and
-```
+```bash
docker build -f source/misc/docker/Dockerfile.WindoesBuild . -t blockattack_test
```