Center alignment using the Markdown module in Jetpack
A user got in touch because the syntax for centering text is not parsing when the Markdown module is activated.
Steps to reproduce:
- Enable Markdown module in Jetpack
- Use the syntax for centering text
-> center text here yo <- - Publish or preview the text
Expected: the text within that bit of Markdown would appear centered Actual: the text appeared unaffected with the -> and <- on either side
/cc @mattwiebe
That syntax is specific to some flavors of Markdown, it does not exist in the original Markdown syntax or in Markdown Extra and GitHub Flavored Markdown, which Jetpack uses.
We consequently won't change that in Jetpack, at least not until that syntax is added to one of the Markdown flavors used in Jetpack.
Thank you for the catch. Sorry I missed that in my own research and for the unnecessary Issues post.
The user also emailed back about the difference in flavors and explained that this particular center syntax is only available through "Discount Markdown" (http://tedwise.com/markdown/) and "RDiscount".