Redesigned calendar format, and coded basic markup function.