hey-red / Markdown

Open source C# implementation of Markdown processor, as featured on Stack Overflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add SkipCodeBlocks Option

GoogleCodeExporter opened this issue · comments

This adds the ability to set a markdown option to skip code blocks
which is helpful when parsing output that was originally built
with xml like a nuspec where it automatically indents everything
four spaces for you. When that gets pushed to nuget.org or
chocolatey.org, the content is parsed and incorrectly assumes
that it is a code block. Having the option to shut that off is
quite beneficial versus trying to tell everyone to remove the
indention for new lines.

Patch attached.

Original issue reported on code.google.com by trueblu...@gmail.com on 1 Jan 2015 at 2:35

Attachments:

This patch also has the repro for issue #67 commented out. I thought about 
removing it from the patch but didn't want to mess anything up with this.

Original comment by trueblu...@gmail.com on 1 Jan 2015 at 2:36