Adjust markup from markdown to reST