Skip to content

nova-ruby/htmlbeautifier

Repository files navigation

HTML Beautifier for Nova

A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates. Learn more on the HTML Beautifier GitHub page.

Requirements

The extension requires HTML Beautifier to be installed on your Mac and globally available:

$ gem install htmlbeautifier

Usage

By default HTML Beautifier will format your .erb files on save. You can disable this behavior from the extension or workspace settings.

You can also manually format the code with the Format Document command of the editor.