code: def as_yaml(self):
          
          dumped = dump(self.as_marked_up(), Dumper=StrictYAMLDumper, allow_unicode=True)
          return dumped if sys.version_info[0] == 3 else dumped.decode("utf8")
docs: Render the YAML node and subnodes as string.