Sha256: e85c7497890c3428fcf50a33139a1365ba2ea3bfd6313dfa9300d6f557960724

Contents?: true

Size: 205 Bytes

Versions: 5

Compression:

Stored size: 205 Bytes

Contents

module Storyblok::Richtext
  module Marks
    class Italic < Mark

      def matching
        ['italic', 'i', 'em'].include?(@node['type'])
      end

      def tag
        'i'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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