Is there a way to beautify the exported HTML code?

Skip to first unread message

Pan Seng Tat

Jan 10, 2018, 3:25:27 AM1/10/18
to Serve Users
I noticed that on Mac OS X 10.11.6 and having installed both Ruby and Serve, performing a "serve export..." compiles the HAML code into HTML code but does not beautify it.
Instead, all the final HTML code are aligned to the left without indentation.

Is there any setting to modify to make Serve export HTML files with indentation and beautified?

John Long

Jan 11, 2018, 9:10:17 PM1/11/18
There may be a way to do it. It would involve passing the correct settings to Tilt. I haven’t had a change to research it, but I believe that HAML offers an option to beautify the HTML or compress it.


Serve Users Group
Mailing List:

You received this message because you are subscribed to the Google Groups "Serve Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Reply all
Reply to author
0 new messages