Reformat notes at vim and smarty.