fix pandoc rendering and baseurl