updating markdown syntax with newlines