# "prettier" code formatting

**URL:** <https://talk.observablehq.com/t/prettier-code-formatting/365>\
**Category:** Uncategorized\
**Created:** [February 17, 2018, 6:59pm UTC](https://talk.observablehq.com/t/prettier-code-formatting/365 "2018-02-17T18:59:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tom](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/tom/32/2262_2.png) [@tom](https://talk.observablehq.com/u/tom)\
**Post date:** [June 19, 2018, 6:14pm UTC](https://talk.observablehq.com/t/prettier-code-formatting/365/3 "2018-06-19T18:14:43Z")

</div>

✨ **Update: Prettier-powered autoformatting is now available to folks to test.** ✨

1. Open your browser console
2. `localStorage.tryPrettier = true`
3. Evaluate cells with Shift-Enter or by clicking the ▶ button, and they’ll be formatted.

Let us know what you think, and if you run into any issues using this beta feature! you can turn it off again by running `localStorage.removeItem('tryPrettier')`.

 ![prettier](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/1X/3d113147c0204b8b9680503f7d4bd81b7f65cd22.gif)

---

_[View the full topic](https://talk.observablehq.com/t/prettier-code-formatting/365)._
