def format_string(self, s, formatter='minimal'):
            if not callable(formatter):
                formatter = self._formatter_for_name(formatter)
            if formatter is None:
                output = s
            else:
                output = formatter(s)
            return output
Format the given string using the given formatter.
dataset/ETHPy150Open mtlevolio/pylinkchecker/pylinkchecker/bs4/element.py/PageElement.format_string