code: def rst2html(rst_src, **kwargs):
      
      pub = rst2pub(rst_src, settings_overrides=kwargs, writer_name='html')
      return pub.writer.parts['body']
docs: Convert a reStructuredText string into a unicode HTML fragment.
  
          For `kwargs`, see `default_rst_opts` and
          http://docutils.sourceforge.net/docs/user/config.html