Add markdown mode support.