Sha256: bcbe7deaf8b8b1141a2956bafd862058d9786989a96eb0ea5ee11ebc11039cac
Contents?: true
Size: 270 Bytes
Versions: 10
Compression:
Stored size: 270 Bytes
Contents
module ReverseAsciidoctor module Converters class Sup < Base def convert(node, state = {}) content = treat_children(node, state) "#{content[/^\s*/]}^#{content.strip}^#{content[/\s*$/]}" end end register :sup, Sup.new end end
Version data entries
10 entries across 10 versions & 2 rubygems