A common glossing convention is the Leipzig Glossing Rules.
Unfortunately it mandates horizontal alignments that are difficult to achieve in plain Markdown.
As a workaround, you can write the gloss as a code block (indent by 4 spaces), as in The stylistic effect of chiasmus in LatinThe stylistic effect of chiasmus in Latin:
sidere mens eadem mutato star-SG.N.ABL mind-SG.F.NOM same-SG.F.NOM change-SG.N.ABL
But this prevents you from using formatting.