Note that caddy fmt doesn't support heredocs

The lexer and formatter are separate, and the additional work is a
significant undertaking.

https://github.com/caddyserver/caddy/issues/5930#issuecomment-1797709061
This commit is contained in:
David Baynard 2023-11-07 21:28:25 +00:00
parent d0b160b182
commit d323766360
2 changed files with 7 additions and 0 deletions

View file

@ -181,6 +181,10 @@ 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`).
<aside class="advice">
The [`caddy fmt`](/docs/command-line#caddy-fmt) command [does not support](https://github.com/caddyserver/caddy/issues/5930#issuecomment-1797709061) heredocs.
</aside>
## Global options