changed to markdown2, implemented general page retrieval