docs: def link(text, link_func):
      """Generate a object formatter for links.."""
      def object_formatter(v, c, m, p):
          """Format object view link."""
          return Markup('<a href="{0}">{1}</a>'.format(
              link_func(m), text))
      return object_formatter