parsedown-extra icon indicating copy to clipboard operation
parsedown-extra copied to clipboard

Suggestion: Text alignment

Open inspiredearth opened this issue 9 years ago • 1 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.

inspiredearth avatar May 26 '15 06:05 inspiredearth

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

hkdobrev avatar May 26 '15 09:05 hkdobrev