Generate reStructuredText from markdown