Class: Redcarpet::Render::StripDown

### Home Classes Methods

### In Files

- lib/redcarpet/render_strip.rb

### Parent

Base

### Methods

- #header
- #image
- #link
- #paragraph

### Class/Module Index

Quicksearch

- Redcarpet
- Redcarpet::Markdown
- Redcarpet::Render
- Redcarpet::Render::ManPage
- Redcarpet::Render::Safe
- Redcarpet::Render::SmartyHTML
- Redcarpet::Render::SmartyPants
- Redcarpet::Render::StripDown
- Redcarpet::Render::XHTML
- Object
- RedcarpetCompat

No matching classes.

# Redcarpet::Render::StripDown

Markdown-stripping renderer. Turns Markdown into plaintext Thanks to @toupeira (Markus Koller)

### Public Instance Methods

header(text, header_level) click to toggle source

    # File lib/redcarpet/render_strip.rb, line 43
    def header(text, header_level)
      text + "\n"
    end

image(link, title, content) click to toggle source

    # File lib/redcarpet/render_strip.rb, line 34
    def image(link, title, content)
      content &&= content + " "
      "#{content}#{link}"
    end

link(link, title, content) click to toggle source

Other methods where we don't return only a specific argument

    # File lib/redcarpet/render_strip.rb, line 30
    def link(link, title, content)
      "#{content} (#{link})"
    end

paragraph(text) click to toggle source

    # File lib/redcarpet/render_strip.rb, line 39
    def paragraph(text)
      text + "\n"
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.