HTML Attributes

You can add classes, ids and other attributes to HTML block elements using a processing directive.

 1> A nice block quote with two classes
 2{: .class1 .class2}
 3
 4> A block quote with an id
 5{: #with-an-id }
 6
 7> A nice block quote with an id and classes
 8{: #with-an-id .class1 .class2 }
 9
10> A nice block quote with custom style attribute
11{: style="color:red" }

Results

A nice block quote with two classes

A block quote with an id

A nice block quote with an id and classes

A nice block quote with custom style attribute