0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
HAML filter for Kramdown
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

~> 4.0
 Project Readme

haml-kramdown

This is a HAML filter for using Kramdown to render the inline Markdown texts.

Usage

Actually you simply have to replace your :markdown filters with :kramdown:

Gemfile

gem 'haml'
gem 'kramdown'
gem 'haml-kramdown'

foo.haml

.content
  :kramdown
    # Markdown

    - foo
    - bar

That's it!

Why?

There are only two established and pure Ruby Markdown engines: Maruku and Kramdown. Although Maruku is widely used and stable it is not actively maintained. At that time the current version 0.6.0 was published at May 4, 2009.

As some deprecation warnings arised for Maruku I was in need to find an alternative and found Kramdown. Unfortunately there was no build-in Kramdown support/filter in HAML ...