Hi everyone, I am happy to announce that Dryml has now Haml experimental support. You just need to use the "haml_support" branch from Github and load the haml gem:
gem 'hobo', git: '[email protected]:Hobo/hobo.git', branch: 'haml_support' gem 'haml' The idea is simple. Instead of creating a ".dryml" file, you can create a ".dryhaml" file. Then Hobo converts it to Dryml before parsing it. I'm sure there are a lot of situations where it will break, but the most basic examples seem to be working: Example 1 Dryml: front/index.dryml ---------------------------------- <page title='Home'> <body: class='front-page'></body:> <content:> <header class='content-header hero-unit'> <h1>Welcome</h1> <section class='welcome-message'> <h3>Congratulations! Your Hobo Rails App is up and running</h3> </section> </header> </content:> </page> Example 1 Haml: front/index.dryhaml ----------------------------------- %page{title: "Home"} %body:/ %content: %header.content-header.hero-unit %h1 Welcome %section.welcome-message %h3 Congratulations! Your Hobo Rails App is up and running %section.content-body Example 2 Dryml: things/show.dryml ---------------------------------- <show-page> <content-body:> <h2>Hello World Dryml</h2> </content-body:> </show-page> Example 2 Haml: things/show.dryhaml ----------------------------------- %show-page %content-body: %h2 Hello World Haml Warm regards, Ignacio -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
