Home Download Buy Blog Forum Support

HAML text formatting

HAML text formatting

Postby darek on Sun Apr 28, 2013 12:04 pm

"Edit, Line, Reindent" doesnt work. any ideas?
darek
 
Posts: 1
Joined: Sun Apr 28, 2013 11:59 am

Re: HAML text formatting

Postby FichteFoll on Thu May 02, 2013 5:47 pm

HAML is indent-based, or whatever you call it. That means, the syntax or rather the content structure is defined by indentation. How would you "reindent" this?

If you want to change the indentation levels (tab width), check "View -> Indentation" or click at the second to last item in the status bar.
FichteFoll
 
Posts: 313
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Re: HAML text formatting

Postby rypaci on Fri May 03, 2013 1:01 am

I'm not familiar with HAML so i searched through the internet about it and here's what i found.
http://chriseppstein.github.io/blog/201 ... r-content/
A blog that says HAML sucks.
I dont know what you guys can say about this.


Ryan
http://rypacimarketingsolution.com/
rypaci
 
Posts: 1
Joined: Fri May 03, 2013 12:53 am

Re: HAML text formatting

Postby FichteFoll on Fri May 03, 2013 2:11 am

Not sure if you can't read, but the blog post essentially says "Haml Sucks for Content" (title) and "Haml is for Layout & Design" (2nd headline) which is an entirely different thing.
Even in the conclusion it says "What I hope is clear is that if your job is to produce content, then Haml is probably not the template language for you."

Other than that it's an interesting post and if I ever start with web dev and use HAML then I'll definitely come back to it.
FichteFoll
 
Posts: 313
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests

cron