Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A console renderer for Redcarpet
branch: master
Failed to load latest commit information.
bin doh
lib no syntax highlighting :/
test fix console_renderer for the mac terminal + add test file
.gitignore gitignore
LICENSE first commit
README.markdown fix typo
VERSION version++
console_renderer.gemspec no syntax highlighting :/

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.