Sha256: c726c2d13dab3f10c23b5895f3b7d43d15d40a923ebb0a8ccd1d830c58c90488
Contents?: true
Size: 920 Bytes
Versions: 19
Compression:
Stored size: 920 Bytes
Contents
!!! #main .note %h2 Quick Notes %ul %li Haml is usually indented with two spaces, although more than two is allowed. You have to be consistent, though. %li The first character of any line is called the "control character" - it says "make a tag" or "run Ruby code" or all sorts of things. %li Haml takes care of nicely indenting your HTML. %li Haml allows Ruby code and blocks. But not in this example. We turned it off for security. .note You can get more information by reading the %a{:href => "/docs/yardoc/file.HAML_REFERENCE.html"} Official Haml Reference .note %p This example doesn't allow Ruby to be executed, but real Haml does. %p Ruby code is included by using = at the beginning of a line. %p Read the tutorial for more information.
Version data entries
19 entries across 19 versions & 1 rubygems