Class: Pandoku::Formats::RichTextFormat

Inherits:
Pandoku::Format show all
Includes:
OutputFormat
Defined in:
lib/pandoku/formats/rtf.rb

Overview

Rich text format.

Available Options

:toc

Include an automatically generated table of contents.

Instance Attribute Summary

Attributes inherited from Pandoku::Format

#options

Class Method Summary collapse

Methods included from OutputFormat

#compile

Methods inherited from Pandoku::Format

#cliopts, inherited, #initialize

Constructor Details

This class inherits a constructor from Pandoku::Format

Class Method Details

.default_optionsObject



16
17
18
# File 'lib/pandoku/formats/rtf.rb', line 16

def self.default_options
  { :toc => false }
end

.nameObject



12
13
14
# File 'lib/pandoku/formats/rtf.rb', line 12

def self.name
  :rtf
end