apply alignment to markdown itself