jasongaylord / markdownsharp

Project that ports code.google.com/p/markdownsharp to .NET Core 1.1
MIT License
9 stars 1 forks source link

Add SkipCodeBlocks Option #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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