Sha256: 3443aacfa12a39ee94b686d94a825679a030129019c238fe43dbb54d99fd3ff6
Contents?: true
Size: 379 Bytes
Versions: 169
Compression:
Stored size: 379 Bytes
Contents
require 'tilt/template' require 'tilt/pandoc' module Tilt # Pandoc reStructuredText implementation. See: # http://pandoc.org/ # Use PandocTemplate and specify input format class RstPandocTemplate < PandocTemplate def tilt_to_pandoc_mapping { :smartypants => :smart } end def pandoc_options options.merge!(f: 'rst') super end end end
Version data entries
169 entries across 132 versions & 23 rubygems