def clean_meta(self, meta):
        """Removes unwanted metadata

        Parameters
        ----------

        meta : dict
            Notebook metadata.
        """
        if not self.verbose_metadata:
            default_kernel_name = (self.default_kernel_name or
                                   self._km.kernel_name)

            if (meta.get("kernelspec", {})
                    .get("name", None) == default_kernel_name):
                del meta["kernelspec"]
                meta.pop("language_info", None)

        return meta
Removes unwanted metadata

        Parameters
        ----------

        meta : dict
            Notebook metadata.
        
ipymd/core/format_manager.py