parse manual and generated markup