Block Level Tags

Block level HTML tags are represented the following ways in Aah:

    // Content goes here. Note that the content begins with a tab.
+p: This is an example.

These two styles can be mixed and matched.

    +p: This is an example.

Generated HTML

    <p>This is an example.</p>

Inline Tags

-strong::bold text::

Standard inline HTML can also be used: <strong>bold text</strong>.


Attributes can be added to block and inline level tags.

-strong{"class"=>"class-name"}::bold text::

Generated HTML

<div class="class-name"></div>
<strong class="class-name">bold text</strong>