code: def static_html(self, obj, fmt=None, template=None):
          
          js_html, css_html = self.html_assets()
          if template is None: template = static_template
          html = self.html(obj, fmt)
          return template.format(js=js_html, css=css_html, html=html)
docs: Generates a static HTML with the rendered object in the
          supplied format. Allows supplying a template formatting string
          with fields to interpolate 'js', 'css' and the main 'html'.