---
title: "Discussion on \"Prettier for ERB\" | Hashnode"
description: "Discussion on \"Prettier for ERB\". Optimize ERB formatting with Prettier by treating ERB as HTML in .prettierrc.json, enhancing Ruby on Rails code readability and compatibility"
url: "https://hashnode.com/posts/prettier-for-erb/64bf9fdec0a28255d46d1a9f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Prettier for ERB](https://code.avi.nyc/prettier-for-erb?utm_source=hashnode&utm_medium=feed)

Optimize ERB formatting with Prettier by treating ERB as HTML in .prettierrc.json, enhancing Ruby on Rails code readability and compatibility

Jul 25, 2023 · 1 min read · code.avi.nyc  
Updated Aug 7, 2023  
Read the article

-   [#prettier](https://hashnode.com/tag/prettier)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#erb](https://hashnode.com/tag/erb)

## Written by

[Avi Flombaum](https://hashnode.com/@avinyc)

@avinyc · New York, NY

  
[View profile](https://hashnode.com/@avinyc)

Engineer, educator, and entrepreneur that loves building products.

I'm an engineer, educator, and entrepreneur that has been building digital products for over 20 years with experience in startups, education, technical training, and developer ecosystems. I founded Flatiron School in NYC where I taught thousands of people how to code. Previously, I was the founder of Designer Pages. Currently I'm the Chief Product Officer at Revature.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
