automatic show markup and code for every unit