Class: Pandoku::Formats::ReStructuredText

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

Overview

reStructuredText format. docutils.sourceforge.net/rst.html

Available Options

:reference_links

Use reference-style links, rather than inline links, in writing.

:no_wrap

Disable text wrapping in output. (Default is to wrap text.)

:toc

Include an instruction to create table of contents.

Instance Attribute Summary

Attributes inherited from Pandoku::Format

#options

Class Method Summary collapse

Methods included from InputFormat

#parse

Methods included from OutputFormat

#compile

Methods inherited from Pandoku::Format

#cliopts, #initialize

Constructor Details

This class inherits a constructor from Pandoku::Format

Class Method Details

.default_optionsObject



20
21
22
# File 'lib/pandoku/formats/rst.rb', line 20

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

.nameObject



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

def self.name
  :rst
end