def str2markup(sourcestring, colors=None, title='', markup='xhtml', header=None, footer=None, linenumbers=0, form=None):
 if (markup.lower() == 'html'):
  return (None, str2html(sourcestring, colors=colors, title=title, header=header, footer=footer, markup=markup, linenumbers=linenumbers, form=form))
 else:
  return str2css(sourcestring, colors=colors, title=title, header=header, footer=footer, markup=markup, linenumbers=linenumbers, form=form)

def str2markup ( sourcestring , colors = None , title = '' , markup = 'xhtml' , header = None , footer = None , linenumbers = 0 , form = None ) : if ( markup . lower ( ) == 'html' ) : return ( None , str2html ( sourcestring , colors = colors , title = title , header = header , footer = footer , markup = markup , linenumbers = linenumbers , form = form ) ) else : return str2css ( sourcestring , colors = colors , title = title , header = header , footer = footer , markup = markup , linenumbers = linenumbers , form = form )
convert code strings into .