def markdown(self): final_contents = [item for item in self.contents if item is not None] if final_contents: return markdown_string_builders.join_multiple_items( list(final_contents)) return ''
def markdown(self): title_text = markdown_string_builders.join_multiple_items( self.contents) title_text = f'## {title_text}\n' outline_list_items_text = self.outline_items.markdown() return f"{title_text}{outline_list_items_text}\n\n"
def markdown(self): return markdown_string_builders.join_multiple_items(self.contents)
def markdown(self): markdown_text = markdown_string_builders.join_multiple_items( self.contents) return f'{markdown_text}\n'