markdown loss