Em
Parameters
Text (optional)
HMTL attributes (optional)
Examples
Example 1: Yield a given block
em id: "foo", class: "bar" do
plain 'Emphasized text' # optional content
end<em id="foo" class="bar">Emphasized text</em>Example 2: Render options[:text] param
Last updated
Was this helpful?