### Installing pptx2md Python Package Source: https://github.com/ssine/pptx2md/blob/master/README.md This command installs the `pptx2md` package using pip, the Python package installer. It requires Python version 3.10 or later and pip to be pre-installed on the system. ```sh pip install pptx2md ``` -------------------------------- ### Example Custom Title Hierarchy File Source: https://github.com/ssine/pptx2md/blob/master/README.md This snippet shows the structure of a `titles.txt` file used to define a custom hierarchical table of contents. Indentation with spaces determines the heading level, where two spaces typically represent one unit of indentation. This file is used with the `-t` argument for `pptx2md`. ```text Heading 1 Heading 1.1 Heading 1.1.1 Heading 1.2 Heading 1.3 Heading 2 Heading 2.1 Heading 2.2 Heading 2.1.1 Heading 2.1.2 Heading 2.3 Heading 3 ``` -------------------------------- ### Basic Usage of pptx2md Conversion in Python Source: https://github.com/ssine/pptx2md/blob/master/README.md This snippet demonstrates the basic usage of the `convert` function from `pptx2md` to transform a PowerPoint presentation into a Markdown file. It initializes `ConversionConfig` with required paths for input PPTX, output Markdown, and image directory, and also shows how to disable presenter notes. ```Python convert( ConversionConfig( pptx_path=Path('presentation.pptx'), output_path=Path('output.md'), image_dir=Path('img'), disable_notes=True ) ) ``` -------------------------------- ### Importing pptx2md for API Usage Source: https://github.com/ssine/pptx2md/blob/master/README.md This Python snippet demonstrates the initial imports required to use `pptx2md` programmatically. It imports the `convert` function and `ConversionConfig` class from the `pptx2md` library, along with `Path` from the `pathlib` module for path manipulation. ```python from pptx2md import convert, ConversionConfig from pathlib import Path ``` -------------------------------- ### Upgrading and Uninstalling pptx2md Python Package Source: https://github.com/ssine/pptx2md/blob/master/README.md These commands demonstrate how to upgrade the `pptx2md` package to its latest version and how to completely remove it from the system using pip. The upgrade command ensures you have the most recent features and bug fixes, while uninstall removes all associated files. ```sh pip install --upgrade pptx2md pip uninstall pptx2md ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.