Last updated 3 years ago
Was this helpful?
The HTML <var> tag, implemented in Ruby.
<var>
This component accepts all the canonical like id or class.
id
class
If given will render the text within the var tags
var id: "foo", class: "bar" do plain 'Simple text' end
returns
<var id="foo" class="bar"> Simple text </var>
var id: "foo", class: "bar", text: 'Simple text'