# Illustrate \`format_on_save\` external command using prettier · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b5765bc8cd7f60b506a909d3e21bbfa63ef226d8)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b5765bc8cd7f60b506a909d3e21bbfa63ef226d8

Requested commit: b5765bc8cd7f60b506a909d3e21bbfa63ef226d8

Commit: b5765bc8cd7f60b506a909d3e21bbfa63ef226d8

Tree: 0c7e45cf6440ca371000636950063213c327d1aa

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Illustrate `format_on_save` external command using prettier

This gives us a chance to highlight a real-world scenario that a lot
of our users will want to use, as well as showcasing the special
`{buffer_path}` argument.

```

## Parents

- [d89465c451c34c5bccf3002a28e9613eb2dff8c7](https://git.cafe/gitcafe/zed/commit/d89465c451c34c5bccf3002a28e9613eb2dff8c7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b5765bc8cd7f60b506a909d3e21bbfa63ef226d8?format=markdown)
