Note that the configuration is markdownToHtml.fencedCodeBlocks not markdown.fencedCodeBlocks - which I assume the latter is a typo in the documentation as it causes gradle to throw a build error. The former gives the a warning but I assume it is still working as intended:
± ./gradlew clean markdownToHtml
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "fencedCodeBlocks" on "task ':markdownToHtml'", value: "true".
:clean
:markdownToHtml
BUILD SUCCESSFUL
Tildes are completely ignored and the backticked block is collapsed to a single line of code. Pegdown claims to support both. Any ideas what I'm doing wrong or is this a bug?
For some reason I can't get
fencedCodeBlocks
to work correctly, here's what I've tried...Here's the top of my build.gradle:
Note that the configuration is
markdownToHtml.fencedCodeBlocks
notmarkdown.fencedCodeBlocks
- which I assume the latter is a typo in the documentation as it causes gradle to throw a build error. The former gives the a warning but I assume it is still working as intended:My source looks like this: