Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A console renderer for Redcarpet
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
test
.gitignore
LICENSE
README.markdown
VERSION
console_renderer.gemspec

README.markdown

ConsoleRenderer

Sometimes you want to read a Markdown document without having to render it to HTML and open a browser. ConsoleRenderer allows you to render a Markdown document and read it right from the command line.

ConsoleRenderer is available:

As an executable

console_renderer [markdown doc]
echo '#hello' | console_renderer
cat [markdown doc] | console_renderer

Example

console_renderer example

As a gem

require 'redcarpet'
require 'console_renderer'
m = Redcarpet::Markdown.new(ConsoleRenderer)
puts m.render("# Title \n para")

Install

gem install console_renderer
Something went wrong with that request. Please try again.