docs: Add Caddyfile syntax highlighting (#41)

This commit is contained in:
Francis Lavoie 2020-05-17 16:32:12 -04:00 committed by GitHub
parent 75fcfc21bb
commit e0f5ee1bb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 215 additions and 179 deletions

View file

@ -8,7 +8,7 @@ Encodes responses using the configured encoding(s). A typical use for encoding i
## Syntax
```
```caddy-d
encode [<matcher>] <formats...> {
gzip [<level>]
zstd
@ -24,13 +24,13 @@ encode [<matcher>] <formats...> {
Enable Gzip compression:
```
```caddy-d
encode gzip
```
Enable Zstandard and Gzip compression:
```
```caddy-d
encode zstd gzip
```