class Member: def __init__( self, name: str, linkedin_url: str = None, github_url: str = None ) -> None: self.name = name self.linkedin_url = linkedin_url self.github_url = github_url def sidebar_markdown(self): markdown = f'{self.name}' if self.linkedin_url is not None: markdown += f' linkedin ' if self.github_url is not None: markdown += f' github ' return markdown