async def _convert_table_to_markdown(self, table: Any) -> str:
        """Convert a PowerPoint table to markdown format.

        Args:
            table: PowerPoint table object

        Returns:
            Markdown table representation
        """
        markdown_rows = []
        header = []

        # Process header row
        for cell in table.rows[0].cells:
            header.append(cell.text.strip())
        markdown_rows.append("| " + " | ".join(header) + " |")
        markdown_rows.append("|" + "|".join(["---" for _ in header]) + "|")

        # Process data rows
        for row in table.rows[1:]:
            cells = [cell.text.strip() for cell in row.cells]
            markdown_rows.append("| " + " | ".join(cells) + " |")

        return "\n" + "\n".join(markdown_rows) + "\n"
Convert a PowerPoint table to markdown format.

        Args:
            table: PowerPoint table object

        Returns:
            Markdown table representation
        
backend/airweave/platform/file_handling/conversion/converters/pptx_converter.py