开发者

How to use my own markup language for Rails model data?

I have a blog application and I want to use my own markup language for writing p开发者_高级运维osts. 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜