bhollis / maruku

A pure-Ruby Markdown-superset interpreter (Official Repo).
MIT License
502 stars 80 forks source link

Add support to Rails #22

Closed hron84 closed 14 years ago

hron84 commented 14 years ago

Add support for Rails. It seems be easily done by adding somewhere to root (not inside a module/class declaration)

Markdown = Maruku
nex3 commented 14 years ago

I don't like the idea of polluting the global namespace like this.

hron84 commented 14 years ago

But Rails can use markdown engines only in this way (because you don't have class named Markdown in a global namespace). I think supporting Rails would be a very good thing, and i don't see difference between "pollute" you or rails developers - but you can make the life easier if you do this.