Skip to content

Commit ff57179

Browse files
committed
fix monospace ascii table layouts by wrapping in code blocks
1 parent 82e9937 commit ff57179

File tree

3 files changed

+168
-1
lines changed

3 files changed

+168
-1
lines changed

docs/config_players/blinkenlight_player.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ blinkenlight has. Now, let's say you use a blinkenlight_player to add
148148
the color red to the blinkenlight. Now the blinkenlight's cycle would
149149
look like this:
150150

151+
```
151152
+-------+-------+-------+-------+-------+-------+-------+-------+
152153
| 1 | | 1 | | 1 | | 1 | |
153154
| s | | s | | s | | s | |
@@ -166,7 +167,7 @@ this:
166167
+-------+-------+-------+-------+-------+-------+-------+-------+
167168
| > red | green | > red | green | > red | green | > red | green |
168169
+-------+-------+-------+-------+-------+-------+-------+-------+
169-
170+
```
170171
Now let's say a third color (blue) is added:
171172

172173
<table style="width:86%;">

docs/game_logic/players.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ piece of text, you'll need to create a player variable of type "str"
5959
to denote a string of characters. Here are the data types available in
6060
MPF.
6161

62+
```
6263
------------------------------------------
6364
Datatype Description
6465
------------ -----------------------------
@@ -72,6 +73,7 @@ MPF.
7273
precise number with decimal
7374
point
7475
------------------------------------------
76+
```
7577

7678
**Examples:**
7779

0 commit comments

Comments
 (0)