Sha256: 6b2f66174d99ddc1c4773c8f6e8315b0c84dd8b1bf95c501e087c348fde1d20e

Contents?: true

Size: 198 Bytes

Versions: 4

Compression:

Stored size: 198 Bytes

Contents

module Storyblok::Richtext
  module Marks
    class Superscript < Mark

      def matching
        @node['type'] === 'superscript'
      end

      def tag
        'sup'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
storyblok-richtext-renderer-0.0.10 lib/storyblok/richtext/html_renderer/marks/superscript.rb
storyblok-richtext-renderer-0.0.9 lib/storyblok/richtext/html_renderer/marks/superscript.rb
storyblok-richtext-renderer-0.0.8 lib/storyblok/richtext/html_renderer/marks/superscript.rb
storyblok-richtext-renderer-0.0.7 lib/storyblok/richtext/html_renderer/marks/superscript.rb