use prettify variable to distinguish mdc and ideamache