문제

I would like to give my user's the option to nicely format their comments. I am not really looking for something super fancy, perhaps something lightweight.

There is a ton of information about markup/markdown/texttile etc. Which it the way to go in rails, performance and usability, compatibility with jquery, security being the priority?

Thanks

도움이 되었습니까?

해결책

Ruby/Rails has good support for both Markdown & Textile, Markdown has less features than Textile but it has better support for code comments. (it's what Stackoverflow uses)

So if you need good code support in comments, use Markdown, if you don't need that use Textile.

Markdown libraries

Textile library

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top