views:

21

answers:

1

I have a blog application and I want to use my own markup language for writing posts. It's syntax is similar to Textile and Wiki. What is the simplest way to do this? Maybe there is some markup language builder gem where I can just set up the rules?

I use Rails 3 and Haml templates.

A: 

The best method for this would be to define your own Haml filter to transform your markup into what it should be.

x1a4