erusev / parsedown-extra

Markdown Extra Extension for Parsedown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: Text alignment

inspiredearth opened this issue · comments

Hello,
I would like know if there's been any consideration given to including syntax for text alignment. Such as making text centre (or justify, or right align)? My own interest is in centring. It can be down with some inline CSS, but in my opinion it would be great to see it implemented in parsedown. In the "Discount" variant of Markdown (found here), this is implemented with the following syntax:

-> Centred text <-

Thank you for your consideration.

HTML5 recommends centering only with CSS. You could use classes from MarkdownExtra and apply CSS to them.