Added markdown support and paging