Pass the HTML element and run check_markup to generate preview