Class: Kramdown::Parser::SmartyPants
- Inherits:
-
Kramdown
- Object
- Kramdown
- Kramdown::Parser::SmartyPants
- Defined in:
- lib/jekyll/converters/smartypants.rb
Instance Method Summary collapse
-
#initialize(source, options) ⇒ SmartyPants
constructor
A new instance of SmartyPants.
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, ) super @block_parsers = [:block_html] @span_parsers = [:smart_quotes, :html_entity, :typographic_syms, :span_html] end |