write markdown