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