From b532efe482614d7576a4fb0e81e5b3c279b12762 Mon Sep 17 00:00:00 2001 From: David Baynard Date: Tue, 7 Nov 2023 23:22:54 +0000 Subject: [PATCH] Note that caddy fmt doesn't support heredocs (#352) Co-authored-by: Francis Lavoie --- src/docs/markdown/caddyfile/concepts.md | 6 ++++++ src/docs/markdown/command-line.md | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/src/docs/markdown/caddyfile/concepts.md b/src/docs/markdown/caddyfile/concepts.md index 8ae75c7..07219e4 100644 --- a/src/docs/markdown/caddyfile/concepts.md +++ b/src/docs/markdown/caddyfile/concepts.md @@ -181,6 +181,12 @@ The closing marker can be indented, which causes every line of text to have that Additional tokens may follow the closing marker as arguments to the directive (such as in the example above, the status code `200`). + + ## Global options diff --git a/src/docs/markdown/command-line.md b/src/docs/markdown/command-line.md index 4dec964..53e2250 100644 --- a/src/docs/markdown/command-line.md +++ b/src/docs/markdown/command-line.md @@ -234,6 +234,11 @@ Formats or prettifies a Caddyfile, then exits. The result is printed to stdout u `--diff` causes the output to be compared against the input, and lines will be prefixed with `-` and `+` where they differ. Note that unchanges lines are prefixed with two spaces for alignment, and that this is not a valid patch format; it's just meant as a visual tool. + ### `caddy hash-password`