From t_leitner at gmx.at Thu Dec 3 15:06:04 2009 From: t_leitner at gmx.at (Thomas Leitner) Date: Thu, 3 Dec 2009 21:06:04 +0100 Subject: [ANN] kramdown - a fast new Ruby Markdown-superset parser Message-ID: <20091203210604.3dcd3b5d@noeato.local> Hi everybody, wanted to let you know that I have just released version 0.2.0 of kramdown. kramdown is a *free* GPL-licensed [Ruby](http://www.ruby-lang.org) library for parsing a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP Markdown Extra package and Maruku. It is probably the fastest pure-Ruby Markdown converter available (December 2009), being 5x faster than Maruku and about 10x faster than BlueFeather (although still 30x slower than native code like BlueCloth 2 or rdiscount). It also seems to be on par with PHP Markdown but way faster than PHP Markdown Extra and Markdown.pl (but this has not been tested extensively). Since the conversion of a kramdown document is done in two steps, first building an intermediate tree representation of the document while parsing and then rendering the tree as HTML fragment, it should also be easy to add additional converters for outputting, for example, a PDF file via LaTeX. I have also written a detailed syntax description for the kramdown syntax (the superset of Markdown which kramdown parses) which is available at and a [quick reference sheet](http://kramdown.rubyforge.org/quickref.html) for quick lookup purposes. Homepage for installation instructions and documentation: http://kramdown.rubyforge.org Best regards, Thomas From Bowerbird at aol.com Fri Dec 4 15:29:19 2009 From: Bowerbird at aol.com (Bowerbird at aol.com) Date: Fri, 4 Dec 2009 15:29:19 EST Subject: [ANN] kramdown - a fast new Ruby Markdown-superset parser Message-ID: kramdown! best name so far! :+) -bowerbird p.s. besides the original, of course... -------------- next part -------------- An HTML attachment was scrubbed... URL: From drdrang at gmail.com Tue Dec 22 14:26:06 2009 From: drdrang at gmail.com (Dr. Drang) Date: Tue, 22 Dec 2009 13:26:06 -0600 Subject: PHP Markdown Extra Math Message-ID: This is a minor extension to Michel Fortin's work that helps me add equations using LaTeX syntax (via jsMath) to my blog posts. It's based on v. 1.2.4. There's a brief description here http://www.leancrew.com/all-this/2009/12/php-markdown-extra-math/ and the GitHub repository is here http://github.com/drdrang/php-markdown-extra-math The display math code seems fairly clean to me, but the inline math is a bit messy, as I had to pry open Michel's handleSpanToken function. The code works for me, but suggestions for improvement are welcome.