MD file formatting