docs: def render_node(node, context=None, edit=True):
      """
      Render node as html for templates, with edit tagging.
      """
      output = node.render(**context or {}) or u''
      if edit:
          return u'<span data-i18n="{0}">{1}</span>'.format(node.uri.clone(scheme=None, ext=None, version=None), output)
      else:
          return output