BSD Ports

textproc/ruby-maruku 0.7.3nb1 NetBSD

Markdown-superset interpreter

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
textproc, ruby
Package size
299.3 KiB, 914.7 KiB installed

Description

Maruku is a Markdown interpreter written in Ruby.

The other Ruby implementation of Markdown is Bluecloth. Maruku is much different in philosophy from Bluecloth; the biggest difference is that parsing is separated from rendering. In Maruku, an in-memory representation of the Markdown document is created. Instead, Bluecloth mantains the document in memory as a String at all times, and does a series of gsub to transform to HTML.

Maruku is usually faster than Bluecloth. Bluecloth is faster for very small documents. Bluecloth sometimes chokes on very big documents (it is reported that the blame should be on Ruby's regexp implementation).

Install

Binary package:

pkgin install ruby33-maruku

From pkgsrc:

cd /usr/pkgsrc/textproc/ruby-maruku && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-maruku-0.7.3nb1, ruby40-maruku-0.7.3nb1