mirror of
https://github.com/caddyserver/website.git
synced 2025-05-11 14:01:32 -04:00
docs: Add Caddyfile syntax highlighting
This commit is contained in:
parent
9594e4bc4b
commit
2e112fd998
34 changed files with 215 additions and 179 deletions
|
@ -9,7 +9,7 @@ Executes the response body as a [template](/docs/modules/http.handlers.templates
|
|||
|
||||
## Syntax
|
||||
|
||||
```
|
||||
```caddy-d
|
||||
templates [<matcher>] {
|
||||
mime <types...>
|
||||
between <open_delim> <close_delim>
|
||||
|
@ -26,7 +26,7 @@ templates [<matcher>] {
|
|||
|
||||
Enable templates on all requests:
|
||||
|
||||
```
|
||||
```caddy-d
|
||||
templates
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue