소스 검색

Update codeblocks highlighting

Svilen Markov 1 년 전
부모
커밋
a0585e097f
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      README.md

+ 7 - 7
README.md

@@ -41,7 +41,7 @@ Checkout the [configuration docs](docs/configuration.md) to learn more. A [preco
 #### Manual
 #### Manual
 Checkout the [releases page](https://github.com/glanceapp/glance/releases) for available binaries. You can place the binary inside `/opt/glance/` and have it start with your server via a [systemd service](https://linuxhandbook.com/create-systemd-services/). To specify a different path for the config file use the `--config` option:
 Checkout the [releases page](https://github.com/glanceapp/glance/releases) for available binaries. You can place the binary inside `/opt/glance/` and have it start with your server via a [systemd service](https://linuxhandbook.com/create-systemd-services/). To specify a different path for the config file use the `--config` option:
 
 
-```shell
+```bash
 /opt/glance/glance --config /etc/glance.yml
 /opt/glance/glance --config /etc/glance.yml
 ```
 ```
 
 
@@ -50,7 +50,7 @@ Checkout the [releases page](https://github.com/glanceapp/glance/releases) for a
 >
 >
 > Make sure you have a valid `glance.yml` file before running the container.
 > Make sure you have a valid `glance.yml` file before running the container.
 
 
-```shell
+```bash
 docker run -d -p 8080:8080 \
 docker run -d -p 8080:8080 \
   -v ./glance.yml:/app/glance.yml \
   -v ./glance.yml:/app/glance.yml \
   -v /etc/timezone:/etc/timezone:ro \
   -v /etc/timezone:/etc/timezone:ro \
@@ -79,13 +79,13 @@ Requirements: [Go](https://go.dev/dl/) >= v1.22
 
 
 To build:
 To build:
 
 
-```shell
+```bash
 go build -o build/glance .
 go build -o build/glance .
 ```
 ```
 
 
 To run:
 To run:
 
 
-```shell
+```bash
 go run .
 go run .
 ```
 ```
 
 
@@ -93,7 +93,7 @@ go run .
 
 
 Build Glance with CGO disabled:
 Build Glance with CGO disabled:
 
 
-```shell
+```bash
 CGO_ENABLED=0 go build -o build/glance .
 CGO_ENABLED=0 go build -o build/glance .
 ```
 ```
 
 
@@ -101,12 +101,12 @@ Build the image:
 
 
 **Make sure to replace "owner" with your name or organization.**
 **Make sure to replace "owner" with your name or organization.**
 
 
-```shell
+```bash
 docker build -t owner/glance:latest -f Dockerfile.single-platform .
 docker build -t owner/glance:latest -f Dockerfile.single-platform .
 ```
 ```
 
 
 Push the image to your registry:
 Push the image to your registry:
 
 
-```shell
+```bash
 docker push owner/glance:latest
 docker push owner/glance:latest
 ```
 ```