Class: Jekyll::Converter

### Home Classes Methods

### In Files

- lib/jekyll/converter.rb

### Parent

Plugin

### Methods

- ::new
- ::pygments_prefix
- ::pygments_suffix
- #pygments_prefix
- #pygments_suffix

### Files

- LICENSE

### Class/Module Index

Quicksearch

- Jekyll
- Jekyll::Command
- Jekyll::Commands
- Jekyll::Commands::Build
- Jekyll::Commands::Doctor
- Jekyll::Commands::New
- Jekyll::Commands::Serve
- Jekyll::Configuration
- Jekyll::Converter
- Jekyll::Converters
- Jekyll::Converters::Identity
- Jekyll::Converters::Markdown
- Jekyll::Converters::Markdown::KramdownParser
- Jekyll::Converters::Markdown::MarukuParser
- Jekyll::Converters::Markdown::RDiscountParser
- Jekyll::Converters::Markdown::RedcarpetParser
- Jekyll::Converters::Markdown::RedcarpetParser::CommonMethods
- Jekyll::Converters::Markdown::RedcarpetParser::WithPygments
- Jekyll::Converters::Markdown::RedcarpetParser::WithoutPygments
- Jekyll::Converters::Textile
- Jekyll::Convertible
- Jekyll::Deprecator
- Jekyll::Draft
- Jekyll::Excerpt
- Jekyll::FatalException
- Jekyll::Filters
- Jekyll::Generator
- Jekyll::Generators
- Jekyll::Generators::Pagination
- Jekyll::GistTag
- Jekyll::Layout
- Jekyll::Page
- Jekyll::Pager
- Jekyll::Plugin
- Jekyll::Post
- Jekyll::RelatedPosts
- Jekyll::Site
- Jekyll::Site::Cleaner
- Jekyll::StaticFile
- Jekyll::Stevenson
- Jekyll::Tags
- Jekyll::Tags::HighlightBlock
- Jekyll::Tags::IncludeTag
- Jekyll::Tags::PostComparer
- Jekyll::Tags::PostUrl
- Jekyll::URL
- Date
- Enumerable
- Hash
- Object

No matching classes.

# Jekyll::Converter

### Public Class Methods

new(config = {}) click to toggle source

Initialize the converter.

Returns an initialized Converter.

    # File lib/jekyll/converter.rb, line 30
    def initialize(config = {})
      @config = config
    end

pygments_prefix(pygments_prefix = nil) click to toggle source

Public: Get or set the pygments prefix. When an argument is specified, the prefix will be set. If no argument is specified, the current prefix will be returned.

pygments_prefix - The String prefix (default: nil).

Returns the String prefix.

    # File lib/jekyll/converter.rb, line 10
    def self.pygments_prefix(pygments_prefix = nil)
      @pygments_prefix = pygments_prefix if pygments_prefix
      @pygments_prefix
    end

pygments_suffix(pygments_suffix = nil) click to toggle source

Public: Get or set the pygments suffix. When an argument is specified, the suffix will be set. If no argument is specified, the current suffix will be returned.

pygments_suffix - The String suffix (default: nil).

Returns the String suffix.

    # File lib/jekyll/converter.rb, line 22
    def self.pygments_suffix(pygments_suffix = nil)
      @pygments_suffix = pygments_suffix if pygments_suffix
      @pygments_suffix
    end

### Public Instance Methods

pygments_prefix() click to toggle source

Get the pygments prefix.

Returns the String prefix.

    # File lib/jekyll/converter.rb, line 37
    def pygments_prefix
      self.class.pygments_prefix
    end

pygments_suffix() click to toggle source

Get the pygments suffix.

Returns the String suffix.

    # File lib/jekyll/converter.rb, line 44
    def pygments_suffix
      self.class.pygments_suffix
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.