Package Usage: rubygems: bluecloth
BlueCloth is a Ruby implementation of John Gruber's
Markdown[http://daringfireball.net/projects/markdown/], a text-to-HTML
conversion tool for web writers. To quote from the project page: Markdown
allows you to write using an easy-to-read, easy-to-write plain text format,
then convert it to structurally valid XHTML (or HTML).
It borrows a naming convention and several helpings of interface from
{Redcloth}[http://redcloth.org/], Why the Lucky Stiff's processor for a
similar text-to-HTML conversion syntax called
Textile[http://www.textism.com/tools/textile/].
BlueCloth 2 is a complete rewrite using David Parsons'
Discount[http://www.pell.portland.or.us/~orc/Code/discount/] library, a C
implementation of Markdown. I rewrote it using the extension for speed and
accuracy; the original BlueCloth was a straight port from the Perl version
that I wrote in a few days for my own use just to avoid having to shell out to
Markdown.pl, and it was quite buggy and slow. I apologize to all the good
people that sent me patches for it that were never released.
Note that the new gem is called 'bluecloth' and the old one 'BlueCloth'. If
you have both installed, you can ensure you're loading the new one with the
'gem' directive:
# Load the 2.0 version
gem 'bluecloth', '>= 2.0.0'
# Load the 1.0 version
gem 'BlueCloth'
require 'bluecloth'
34 versions
Latest release: over 13 years ago
213 dependent packages
4,702,868 downloads total
View more package details: https://packages.ecosystem.code.gouv.fr/registries/rubygems.org/packages/bluecloth
Dependent Repos 2
betagouv/boussole
Accède au conseil qualifié d'un·e professionnel·le, près de chez toi, pour t'aider dans tes projets de formation, de logement, d'activité et de santéSize: 2.17 MB - Last synced: 7 days ago - Pushed: almost 8 years ago

betagouv/nanoc Fork of nanoc/nanoc
A powerful web publishing systemSize: 12.5 MB - Last synced: 7 days ago - Pushed: 6 months ago
