I already know we can perform text alignment through html tags, but it is impossible to use markdown syntax within an html tag, so if I wanted to bold/italicize text inside a centered block, I’d need html, not markdown. I’ve seen threads where people are suggesting changing the css for paragraphs to (for example) justify instead of left (assuming that’s what the user wants), and also cases where changing the css for block quotes to display centered instead of left.
While I understand the ‘>’ syntax for block quotes exists natively in md, so all we are doing is changing how the block quote is displayed, I was also curious if extra functionality could be added through css, particularly text alignment. Personally, it feels strange to see native text alignment for tables being supported but not in general md as a whole.
<<This sentence being surrounded by double left arrows is left aligned.<<
>>This sentence is right aligned.>>
>>This sentence is center aligned.<<
<<This sentence is justified.>>
I understand this isn’t full-proof since I had to add the escape \ key to prevent accidental block quotes and html tags.
But I think that issue can be circumvented by making sure there is a space after the symbols to make sure text is being treated a certain way. For example:
> > This is treated as a nested block quote whereas
>>This is treated as a right aligned text.>>
Considering such a thing is already implemented for italics (
*This is italicized* but
* this is not *), it wouldn’t be too farfetched to think it can be done relatively easily, right?
I’m putting this thread in ‘Help’ category for now, but if the community says so, I can change it to feature request or plugin ideas.