improve examples rendering