Extending Markdown/MarkdownSharp for jsFiddle embedding

added by lelandrichardson
12/3/2012 9:47:35 AM

0 Kicks, 46 Views

I decided to implement a convention for embedding jsFiddles into a Markdown post. Implemented using MarkdownSharp. Since it is often a need to sanitize markdown-produced HTML (since all HTML is technically valid Markdown), I also demonstrate how to sanitize the output HTML to prevent malicious attacks.