def format_manager(cls):
        """Return the instance singleton, creating if necessary
        """
        if cls._instance is None:
            # Discover the formats and register them with a new singleton.
            cls._instance = cls().register_entrypoints()
        return cls._instance
Return the instance singleton, creating if necessary
        
ipymd/core/format_manager.py