Converts HTML into markdown format