https://github.com/nova-ruby/htmlbeautifier
Support for HTML Beautifier in Nova Editor
https://github.com/nova-ruby/htmlbeautifier
erb-template nova ruby-on-rails
Last synced: 7 days ago
JSON representation
Support for HTML Beautifier in Nova Editor
- Host: GitHub
- URL: https://github.com/nova-ruby/htmlbeautifier
- Owner: nova-ruby
- Created: 2023-04-30T10:01:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T15:06:29.000Z (almost 3 years ago)
- Last Synced: 2025-08-01T15:27:27.654Z (9 months ago)
- Topics: erb-template, nova, ruby-on-rails
- Language: JavaScript
- Homepage:
- Size: 105 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
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](https://github.com/threedaymonk/htmlbeautifier) GitHub page.
## Requirements
The extension requires [HTML Beautifier](https://github.com/threedaymonk/htmlbeautifier) 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.