> For the complete documentation index, see [llms.txt](https://ret2basic.gitbook.io/ctfnote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ret2basic.gitbook.io/ctfnote/web3-security-research/foundry/auto-format-code.md).

# Auto Format Code

{% embed url="<https://youtu.be/k55TIWUFLbQ>" %}
Auto Format Code
{% endembed %}

Auto formatter:

```bash
foundry fmt
```
