Sha256: 1b5b3d1332d5a7d36ac0d334c83daf1e5568c8d8258dc9937118316013209124
Contents?: true
Size: 1.16 KB
Versions: 3
Compression:
Stored size: 1.16 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]! The short name of the processor is `haml`! 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]({relocatable: 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 {.exclamation} ## 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webgen-0.5.2 | doc/contentprocessor/haml.page |
webgen-0.5.3 | doc/contentprocessor/haml.page |
webgen-0.5.1 | doc/contentprocessor/haml.page |