introduce outputmodes and an empty html mode