Redcarpet is written with sugar, spice and everything nice. Redcarpet is a Ruby library for Markdown processing that smells like butterflies and popcorn. Redcarpet would not be possible without the Sundown library and its authors (Natacha Porté, Vicent Martí, and its many awesome contributors). Redcarpet is readily available as a Ruby gem. It will build some native extensions, but the parser is standalone and requires no installed libraries. Starting with Redcarpet 3.0, the minimum required Ruby version is 1.9.2 (or Rubinius in 1.9 mode). The core of the Redcarpet library is the Redcarpet::Markdown class. Each instance of the class is attached to a Renderer object; the Markdown class performs parsing of a document and uses the attached renderer to generate output. Redcarpet comes with two built-in renderers, Redcarpet::Render::HTML and Redcarpet::Render::XHTML, which output HTML and XHTML, respectively.

Features

  • Several degrees of magnitude faster than other Ruby Markdown solutions
  • The HTML renderer has an alternate version
  • Redcarpet also includes a plaintext renderer
  • Custom renderers are created by inheriting from an existing renderer
  • Redcarpet 2 comes with a standalone SmartyPants implementation
  • Comes with SmartyPants, which works on top of already-rendered HTML

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Redcarpet

Redcarpet Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Redcarpet!

Additional Project Details

Programming Language

C

Related Categories

C Libraries

Registered

2021-11-18