This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Script to automatically removes the references section, square bracket references, | |
| and the perplexity image from perplexity markdown export. | |
| Examples: | |
| # Process a single file (creates backup) | |
| python perplexity_markdown_cleaner.py file.md | |
| # Process a single file without backup |