add config option for host
hide export button if mode is not markdown