code: def ast_to_html(self, ast, link_resolver):
          
          out, _ = cmark.ast_to_html(ast, link_resolver)
          return out
docs: See the documentation of `to_ast` for
          more information.
  
          Args:
              ast: PyCapsule, a capsule as returned by `to_ast`
              link_resolver: hotdoc.core.links.LinkResolver, a link
                  resolver instance.