Sha256: f9b5ad07e91f76e9c29a7f6e91e7a47fa70560de892a52e290ab829734d8b76c

Contents?: true

Size: 194 Bytes

Versions: 4

Compression:

Stored size: 194 Bytes

Contents

module Storyblok::Richtext
  module Marks
    class Subscript < Mark

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

      def tag
        'sub'
      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/subscript.rb
storyblok-richtext-renderer-0.0.9 lib/storyblok/richtext/html_renderer/marks/subscript.rb
storyblok-richtext-renderer-0.0.8 lib/storyblok/richtext/html_renderer/marks/subscript.rb
storyblok-richtext-renderer-0.0.7 lib/storyblok/richtext/html_renderer/marks/subscript.rb