change markdown engine and add toc