code: def render_html(input_text, **context):
      
      global g_parser
      if g_parser is None:
          g_parser = Parser()
      return g_parser.format(input_text, **context)
docs: A module-level convenience method that creates a default bbcode parser,
      and renders the input string as HTML.