def rst2html(rst, **kwargs):
settings = {'<STR_LIT>': '<STR_LIT:utf8>'}<EOL>settings.update(kwargs)<EOL>result = publish_string(<EOL>source=rst,<EOL>writer=Writer(),<EOL>writer_name='<STR_LIT>',<EOL>settings_overrides=settings,<EOL>).decode('<STR_LIT:utf8>')<EOL>return result<EOL>
Convert RST to HTML.

Keyword arguments are passed on to the writer.