Updated markdown engine