markdown and pagination added