Skip to content
Carl Calderon edited this page Jun 15, 2013 · 1 revision

Tags may have attached classes using . prefix. Classes may also be defined by setting the @class=myClass attribute but is quicker and more readable if defined as follows.

Input:

section.main-content
  h1.big-headline

div@class="this-works-too"

Output:

<section class="main-content">
  <h1 class="big-headline"/>
</section>
<div class="this-works-too"/>
Clone this wiki locally