generate pretty html document by lightweight markup language