Class: Tilt::RstPandocTemplate
- Inherits:
-
PandocTemplate
- Object
- Template
- PandocTemplate
- Tilt::RstPandocTemplate
- Defined in:
- lib/tilt/rst-pandoc.rb
Overview
Pandoc reStructuredText implementation. See: pandoc.org/ Use PandocTemplate and specify input format
Instance Attribute Summary
Attributes inherited from Template
Instance Method Summary collapse
Methods inherited from PandocTemplate
#allows_script?, #evaluate, #prepare
Methods inherited from Template
#basename, default_mime_type, default_mime_type=, #eval_file, #initialize, metadata, #metadata, #name, #render
Constructor Details
This class inherits a constructor from Tilt::Template
Instance Method Details
#pandoc_options ⇒ Object
13 14 15 16 |
# File 'lib/tilt/rst-pandoc.rb', line 13 def .merge!(f: 'rst') super end |
#tilt_to_pandoc_mapping ⇒ Object
9 10 11 |
# File 'lib/tilt/rst-pandoc.rb', line 9 def tilt_to_pandoc_mapping { :smartypants => :smart } end |