Javascript Haml Editor

Does anyone know of a Javascript-based HAML editor there? I'm looking for something like TinyMCE that just understands HAML (so it indents and highlights correctly)

I am thinking of using such an editor for the dynamic website that I am creating.

Explanation The site I am creating allows users to define layouts (in terms of rails) and css. So it requires finer grain control than textiles and markdowns, I know that I can include raw html in markdowns, but haml is much prettier.

+3
source share
3 answers

, . , MarkItUp. WYSIWYG, , , . HAML , , . AJAX , .

+2

HAML ; , , , .

, , - Markdown Textile. WYSIWYG ( Markdown, Textile ( )), Haml HTML.

:.

#content
  :markdown
    @post.body

( Haml !)

+4

I have something pretty simple and work for interpreting javascript HAML code . Alternatively, you can go directly to jHaml javascript source .

+1
source

All Articles