Label terminal commands and directory trees in code blocks

This commit is contained in:
Djeex
2026-08-31 19:57:52 +02:00
parent 61f4b0447b
commit baf3590186
53 changed files with 214 additions and 206 deletions
@@ -27,7 +27,7 @@ For this setup, well use the [image maintained by LinuxServer.io](https://doc
Folder structure
```sh
```text [Directory tree]
root
├── docker
│ └── code-server
@@ -75,13 +75,13 @@ services:
Choose a password and generate its hash:
```sh
```bash [Terminal]
echo -n "yourpassword" | npx argon2-cli -e
```
Save the result carefully. Find your PUID and GUID with:
```sh
```bash [Terminal]
id yourusername
```
@@ -158,7 +158,7 @@ Inside the Swag config folders, create the file `code.subdomain.conf`.
✨ __Tip:__ You can use [File Browser](/serveex/files/file-browser) to navigate and edit your files instead of using terminal commands.
::
```sh
```bash [Terminal]
sudo nano /docker/swag/config/nginx/proxy-confs/code.subdomain.conf
```
@@ -21,7 +21,7 @@ description: Install Gitea, a lightweight self-hosted Git service to manage your
## Installation
Folder structure
```sh
```text [Directory tree]
root
└── docker
└── gitea
@@ -111,7 +111,7 @@ Inside the Swag folders, create the file `gitea.subdomain.conf`.
✨ __Tip:__ You can use [File Browser](/serveex/files/file-browser) to navigate and edit your files instead of using terminal commands.
::
```sh
```bash [Terminal]
sudo nano /docker/swag/config/nginx/proxy-confs/gitea.subdomain.conf
```
Paste the configuration below:
@@ -177,7 +177,7 @@ Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ct
Now open the `app.ini` file from the container's file system:
```sh
```bash [Terminal]
sudo nano /docker/gitea/data/gitea/conf/app.ini
```
@@ -99,7 +99,7 @@ Inside the Swag folders, create the file `tools.subdomain.conf`.
✨ __Tip:__ You can use [File Browser](/serveex/files/file-browser) to navigate and edit your files instead of using terminal commands.
::
```sh
```bash [Terminal]
sudo nano /docker/swag/config/nginx/proxy-confs/tools.subdomain.conf
```