Skip to content

Instantly share code, notes, and snippets.

View heychriszappa's full-sized avatar

Chris Zappa heychriszappa

View GitHub Profile
#!/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