Sha256: 8bd6fd949a48a9534eb3215832fef66eda4766612e80b8b61cf17db64137c97f
Contents?: true
Size: 1.1 KB
Versions: 6
Compression:
Stored size: 1.1 KB
Contents
--- title: Webgen::ContentProcessor::Haml --- ## Description This processor converts the content, which is assumed to be in the Haml markup language, to valid XHTML by using the Haml library. For detailed information about Haml have a look at the [Haml Homepage][1]! You can use some special objects provided by webgen in your Haml markup. These are the same objects that are available to the `erb` processor, have a look at its [documentation page](erb.html). > This extension is only available if you have installed the [haml][1] library. The preferred way to > do this is via Rubygems: > > gem install haml {:.warning} ## Example Here is a short sample of a text in Haml markup: %h1#myid This a h1 header %p You can just write %b your paragraphs here and %a{:href => 'http://someurl.com'} link them below. This is a %strong nice format! %blockquote.information Citations are easy too. Really. And you can assign them attributes. %ul %li Lists %li aren't %li difficult %li either. [1]: http://haml.hamptoncatlin.com/
Version data entries
6 entries across 6 versions & 1 rubygems