Markup finalization