From c45d8fcbd63c27089d9f5616c535522978a490a7 Mon Sep 17 00:00:00 2001 From: laqieer Date: Mon, 14 Feb 2022 17:00:17 +0800 Subject: [PATCH] Syntax highlight for code blocks in README. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 643101c..ee18b63 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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); ```