docs: def render_summary(self, app, include_title=True):
          """Render the traceback for the interactive console."""
          title = ''
          frames = []
          classes = ['traceback']
          if not self.frames:
              classes.append('noframe-traceback')
  
          if include_title:
              if self.is_syntax_error:
                  title = text_('Syntax Error')
              else:
                  title = text_('Traceback <small>(most recent call last)'
                                '</small>')
  
          for frame in self.frames:
              txt = frame.info
              if not txt:
                  txt = text_(' title="%s"' % escape(frame.info))
              if not txt:
                  txt = text_('')
              frames.append(
                  text_('<li%s>%s') % (txt, frame.render()))
  
          if self.is_syntax_error:
              description_wrapper = text_('<pre class=syntaxerror>%s</pre>')
          else:
              description_wrapper = text_('<blockquote>%s</blockquote>')
          vars = {
              'classes': text_(' '.join(classes)),
              'title': title and text_('<h3 class="traceback">%s</h3>'
                                       % title) or text_(''),
              'frames': text_('\n'.join(frames)),
              'description': description_wrapper % escape(self.exception),
          }
          return render('exception_summary.jinja2', app, vars)