add puppet mode, add markdown mode