class Storyblok::Richtext::Marks::Italic

Public Instance Methods

matching() click to toggle source
# File lib/storyblok/richtext/html_renderer/marks/italic.rb, line 5
def matching
  ['italic', 'i', 'em'].include?(@node['type'])
end
tag() click to toggle source
# File lib/storyblok/richtext/html_renderer/marks/italic.rb, line 9
def tag
  'i'
end