Decision at StackShare about Rails, Ruby, Markdown, StackDecisionsLaunch

Avatar of jeromedalbert
Senior Backend Engineer at StackShare ·

I needed to make stack decisions accept a subset of Markdown, similarly to sites like Reddit or Stack Overflow.

I used the redcarpet Ruby gem for parsing, and Rails' sanitize helper made it very easy to only allow certain tags: links, bold, italics, lists, code blocks, paragraphs.

Problem solved! #StackDecisionsLaunch

4 upvotes·5.9K views
Avatar of Jerome Dalbert

Jerome Dalbert

Senior Backend Engineer at StackShare