def METHOD_NAME(self, content: str) -> None:
    """Set a new renderer content.
    Reads the new renderer content and reinitializes the _Renderer instance to reflect the change.
    !!! important
        This function can only be used in an IPython notebook context.
    Arguments:
        content (str): The text content or the path to the file holding the text to be transformed.
            If *content* is a path to a readable file, the file is read entirely as the text
            template.
    Exceptions:
        RuntimeError: If this method is called outside an IPython notebook context.
    """
    if not _is_in_notebook():
        raise RuntimeError("'set_content()' must be used in an IPython notebook context")
    self.__process_content(content)