class ReverseAsciidoctor::Converters::Sup
Public Instance Methods
convert(node, state = {})
click to toggle source
# File lib/reverse_asciidoctor/converters/sup.rb, line 4 def convert(node, state = {}) content = treat_children(node, state) "#{content[/^\s*/]}^#{content.strip}^#{content[/\s*$/]}" end