Enable code block syntax hightlight in README.md

It'll make it just a little bit easier to read it
This commit is contained in:
Peter Dave Hello 2022-03-30 18:02:50 +08:00 committed by GitHub
parent f31ffcc5d1
commit 047970e5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -67,7 +67,7 @@ It operates as a DNS server that re-routes tracking domains to a "black hole", t
### Automated install (Linux and Mac) ### Automated install (Linux and Mac)
Run the following command in your terminal: Run the following command in your terminal:
``` ```sh
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
``` ```
@ -212,11 +212,11 @@ Check the [`Makefile`](https://github.com/AdguardTeam/AdGuardHome/blob/master/Ma
In order to do this, specify `GOOS` and `GOARCH` env variables before running make. In order to do this, specify `GOOS` and `GOARCH` env variables before running make.
For example: For example:
``` ```sh
env GOOS='linux' GOARCH='arm64' make env GOOS='linux' GOARCH='arm64' make
``` ```
Or: Or:
``` ```sh
make GOOS='linux' GOARCH='arm64' make GOOS='linux' GOARCH='arm64'
``` ```
@ -228,7 +228,7 @@ You'll need this to prepare a release build:
Commands: Commands:
``` ```sh
make build-release CHANNEL='...' VERSION='...' make build-release CHANNEL='...' VERSION='...'
``` ```
@ -271,12 +271,12 @@ There are three options how you can install an unstable version:
3. Standalone builds. Use the automated installation script or look for the available builds below. 3. Standalone builds. Use the automated installation script or look for the available builds below.
Beta: Beta:
``` ```sh
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c beta curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c beta
``` ```
Edge: Edge:
``` ```sh
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c edge curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c edge
``` ```