commit c079d53
bouncepaw
·
2023-05-13 15:08:30 +0000 UTC
parent 47ce735
Reformat the codeblocks in README.md 1. Remove the extra indent 2. Add `sh` language
1 files changed,
+8,
-8
+8,
-8
1@@ -30,22 +30,22 @@ This program is written in highly portable ANSI C. The only external dependencie
2
3 On Debian/Ubuntu, you can satisfy these requirements by running
4
5-```
6- apt install libssl-dev libcurl4-openssl-dev
7+```sh
8+apt install libssl-dev libcurl4-openssl-dev
9 ```
10
11 On OpenBSD you just need to install `curl`:
12
13-```
14- pkg_add curl
15+```sh
16+pkg_add curl
17 ```
18
19 Run `make` and then `make install` as root.
20
21 From version 2.27, `snac` includes support for the Mastodon API; if you are not interested on it, you can compile it out by running
22
23-```
24- make CFLAGS=-DNO_MASTODON_API
25+```sh
26+make CFLAGS=-DNO_MASTODON_API
27 ```
28
29 See the administrator manual on how to proceed from here.
30@@ -54,8 +54,8 @@ See the administrator manual on how to proceed from here.
31
32 A `docker-compose` file is provided for development and testing. To start snac with an nginx HTTPS frontend, run:
33
34-```
35- docker-compose build && docker-compose up
36+```sh
37+docker-compose build && docker-compose up
38 ```
39
40 This will: