def _repr_markdown_(self):
        """
        When called in a Jupyter environment, this will display the node as Markdown, which Jupyter will then render as HTML.
        """
        markdown_parts = []
        for element in self.elements:
            if element.variant == NodeVariant.TEXT:
                markdown_parts.append(element.text)
            elif element.variant == NodeVariant.IMAGE:
                image_data = element.image
                mime_type = element.image_mimetype
                if mime_type == "unknown":
                    mime_type = "image/png"
                markdown_image = f"![Image](data:{mime_type};base64,{image_data})"
                markdown_parts.append(markdown_image)
            elif element.variant == NodeVariant.TABLE:
                markdown_parts.append(element.text)
        return "\n\n".join(markdown_parts)

        When called in a Jupyter environment, this will display the node as Markdown, which Jupyter will then render as HTML.
        
src/openparse/schemas.py