Em
Last updated
Was this helpful?
The HTML <em> tag, implemented in Ruby.
This component can take various optional configuration params and either yield content or display what gets passed to the text configuration param.
Expects a string which will be displayed as the content inside the <em> tag.
This component accepts all the canonical HTML global attributes like id or class.
em id: "foo", class: "bar" do
plain 'Emphasized text' # optional content
endreturns
<em id="foo" class="bar">Emphasized text</em>returns
Last updated
Was this helpful?
Was this helpful?
em id: "foo", class: "bar", text: 'Emphasized text'<em id="foo" class="bar">Emphasized text</em>