Sha256: 2f8d8f86d40b5f1bd28e2c5594c5c94ac930a3b28280275b332ee96613c8d2b6

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

module Storyblok::Richtext
  module Marks
    class Italic < Mark

      def matching
        @node['type'] === 'italic'
      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.5 lib/storyblok/richtext/html_renderer/marks/italic.rb
storyblok-richtext-renderer-0.0.4 lib/storyblok/richtext/html_renderer/marks/italic.rb
storyblok-richtext-renderer-0.0.3 lib/storyblok/richtext/html_renderer/marks/italic.rb
storyblok-richtext-renderer-0.0.2 lib/richtext/html_renderer/marks/italic.rb
storyblok-richtext-renderer-0.0.1 lib/storyblok/richtext/html_renderer/marks/italic.rb