Create caption labels in markdown