Class: Kramdown::Parser::SmartyPants

Inherits:
Kramdown
  • Object
show all
Defined in:
lib/jekyll/converters/smartypants.rb

Instance Method Summary collapse

Constructor Details

#initialize(source, options) ⇒ SmartyPants

Returns a new instance of SmartyPants.



2
3
4
5
6
# File 'lib/jekyll/converters/smartypants.rb', line 2

def initialize(source, options)
  super
  @block_parsers = [:block_html]
  @span_parsers =  [:smart_quotes, :html_entity, :typographic_syms, :span_html]
end