SparkViewEngine / spark

Spark is a view engine for ASP.NET MVC and Castle Project MonoRail frameworks. The idea is to allow the html to dominate the flow and any code to fit seamlessly.
Apache License 2.0
260 stars 86 forks source link

Disable Inline Code in Markdown #49

Open abombss opened 10 years ago

abombss commented 10 years ago

headers are not supported in markdown because the # gets interpreted as inline code. Can we disable this behavior inside of the markdown binding, or get an attribute switch on the binding to toggle this behavior? Not allowing # style headings severely cripples the markdown syntax as now you can only have H1, H2 and not the full H1 - H5 headings supported.

RobertTheGrey commented 10 years ago

To make sure I catch everything, please can you provide some sample markdown you're using to test all this in a Gist or something similar so I can make sure the parser ignores/parses the correct parts?

Thanks

abombss commented 10 years ago

Here is a gist, its probably a little excessive but it should make sure we catching the issue of # being interpreted as inline code rather markdown text for processing.

https://gist.github.com/abombss/e67319578d7762f7a133

Thanks, Adam