More tweaking with pages
    Added markdown support