Class: RhetButler::SlideRenderers::Markdown
- Inherits:
-
RhetButler::SlideRenderer
- Object
- YamlType
- RhetButler::SlideRenderer
- RhetButler::SlideRenderers::Markdown
- Defined in:
- lib/rhet-butler/slide-renderers/markdown.rb
Instance Method Summary collapse
Methods inherited from RhetButler::SlideRenderer
#configure, #html_class, #normalize_config, optional_config, #positional_options, required_config, #setup_defaults
Methods inherited from YamlType
#check_config_hash, #init_with, #initialize, register, #setup_defaults, #value_from_config
Constructor Details
This class inherits a constructor from RhetButler::YamlType
Instance Method Details
#process(string) ⇒ Object
10 11 12 |
# File 'lib/rhet-butler/slide-renderers/markdown.rb', line 10 def process(string) Kramdown::Document.new(string).to_html end |