format content using markdown