Skip to content

feat: add markdown output and optional logging#21

Open
fihtony wants to merge 1 commit intoPleasePrompto:masterfrom
fihtony:feat/markdownoutput
Open

feat: add markdown output and optional logging#21
fihtony wants to merge 1 commit intoPleasePrompto:masterfrom
fihtony:feat/markdownoutput

Conversation

@fihtony
Copy link
Copy Markdown

@fihtony fihtony commented Mar 11, 2026

Add --markdown flag to get formatted markdown output from NotebookLM by clicking the copy button. Add --log flag to optionally save outputs to log files (disabled by default).

Changes:

  • Add --markdown flag: Click copy button to get clean markdown via clipboard API
  • Add --log flag: Save outputs to logs/ directory only when explicitly enabled
  • Add scripts/logger.py: Extract logging logic from main() for cleaner code structure
  • Update browser_utils.py: Grant clipboard permissions for copy button access
  • Refactor ask_question.py: Return dict with both original and markdown, use QueryLogger

Please refer to test report:
test-report.zip

Add --markdown flag to get formatted markdown output from NotebookLM by clicking the copy button. Add --log flag to optionally save outputs to log files (disabled by default).

Changes:
- Add --markdown flag: Click copy button to get clean markdown via clipboard API
- Add --log flag: Save outputs to logs/ directory only when explicitly enabled
- Add scripts/logger.py: Extract logging logic from main() for cleaner code structure
- Update browser_utils.py: Grant clipboard permissions for copy button access
- Refactor ask_question.py: Return dict with both original and markdown, use QueryLogger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant