Avatar of jeromedalbert
Senior Backend Engineer at StackShare
Shared insights
on
MarkdownMarkdownRubyRubyRailsRails
at

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

READ LESS
5 upvotes13.8K views