Text alignment

Is there a way to do text alignment in MMD? I need some parts of my manuscript to be centered or right aligned, and I can’t find a way to do it. I’m sorry if this is a very basic question, but I can’t find the answer anywhere.

Since Markdown understands HTML, how about a div tag ?

centre this
align right
align left

I don’t think MMD has centring or right alignment, so the best solution will depend upon what your output is going to be.

If it’s Latex then a commented piece of code might be easiest. So:

Your text to be centred

Thanks for your replies. I half suspected it couldn’t be done using only markdown. Since my final output is going to be html, I will try with the tags. It makes the text looks a bit dirty, but I’m not going to need it that much.

You could lessen the impact on your text during composition by setting up project or pre-set replacements in the compile dialogue.

For example you could use cc: and :cc to mark the start and end of centring, then have those converted to

and
respectively at compile.