Skip to content

Commit

Permalink
Syntax highlight for code blocks in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
laqieer authored Feb 14, 2022
1 parent 0eb9896 commit c45d8fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This repo contains many free-to-use fonts which are ready-to-use in your GBA pro
### For [Butano](https://github.com/GValiente/butano)

1. Install [Pillow](https://pillow.readthedocs.io/en/stable/installation.html)
```
```sh
# For MSYS2/MinGW-w64 users
pacman -S mingw-w64-x86_64-python-pillow
# For WSL2/Ubuntu/Debian users
Expand All @@ -38,14 +38,14 @@ dnf install python3-pillow
pacman -S python37-pillow
```
1. Set path in `Mekefile`
```
```Makefile
# FONTS is a list of directories containing font files.
FONTS :=
# TEXTS is a list of directories or filenames containing text files.
TEXTS :=
```
1. Bind it to a `bn::sprite_text_generator` in source code
```
```C++
#include "xxx_sprite_font.h"
bn::sprite_text_generator text_generator(xxx_sprite_font);
```
Expand Down

0 comments on commit c45d8fc

Please sign in to comment.