class_docstr: Format tokens as Pango Markup code. It can then be rendered to an SVG.
  
  .. versionadded:: 2.9
class_docstr_tok: ["Format","tokens","as","Pango","Markup","code",".","It","can","then","be","rendered","to","an","SVG",".","..","versionadded",":",":","2.9"]
code: def format_unencoded(self, tokensource, outfile):
      lastval = ""
      lasttype = None
  
      outfile.write("<tt>")
  
      for ttype, value in tokensource:
          while ttype not in self.styles:
              ttype = ttype.parent
          if ttype == lasttype:
              lastval += escape_special_chars(value)
          else:
              if lastval:
                  stylebegin, styleend = self.styles[lasttype]
                  outfile.write(stylebegin + lastval + styleend)
              lastval = escape_special_chars(value)
              lasttype = ttype
  
      if lastval:
          stylebegin, styleend = self.styles[lasttype]
          outfile.write(stylebegin + lastval + styleend)
  
      outfile.write("</tt>")
  
imports: from pygments.formatter import Formatter
label_desc: Use image node_id 2 for calling the PangoMarkupFormatter obj's underlying member method code with example usage: obj.format_unencoded(tokensource, outfile) without return types