upadted with additional md compiler stage, cleaner css and automatic latex compilation